forked from argonne-lcf/ChemGraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
66 lines (62 loc) · 1.56 KB
/
Copy pathdocker-compose.yml
File metadata and controls
66 lines (62 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
x-chemgraph-common: &chemgraph-common
build:
context: .
dockerfile: Dockerfile
image: chemgraph:local
working_dir: /app
volumes:
- .:/app
environment:
OPENAI_API_KEY: ${OPENAI_API_KEY:-}
ANTHROPIC_API_KEY: ${ANTHROPIC_API_KEY:-}
GEMINI_API_KEY: ${GEMINI_API_KEY:-}
GROQ_API_KEY: ${GROQ_API_KEY:-}
CHEMGRAPH_LOG_DIR: /app/cg_logs
PYTHONPATH: /app/src
ARGO_USER: ${ARGO_USER:-}
ALCF_ACCESS_TOKEN: ${ALCF_ACCESS_TOKEN:-}
services:
jupyter:
<<: *chemgraph-common
profiles: ["jupyter"]
ports:
- "8888:8888"
command:
- /bin/bash
- -lc
- |
git config --global --add safe.directory /app
exec jupyter lab --ip=0.0.0.0 --port=8888 --no-browser --allow-root --LabApp.token=
streamlit:
<<: *chemgraph-common
profiles: ["streamlit"]
ports:
- "8501:8501"
command:
- /bin/bash
- -lc
- |
git config --global --add safe.directory /app
exec streamlit run src/ui/app.py --server.address=0.0.0.0 --server.port=8501
mcp:
<<: *chemgraph-common
profiles: ["mcp"]
ports:
- "9003:9003"
command:
- /bin/bash
- -lc
- |
git config --global --add safe.directory /app
exec python -m chemgraph.mcp.mcp_tools --transport streamable_http --host 0.0.0.0 --port 9003
cli:
<<: *chemgraph-common
profiles: ["cli"]
stdin_open: true
tty: true
command:
- /bin/bash
- -lc
- |
git config --global --add safe.directory /app
exec chemgraph --interactive