-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (49 loc) · 1.26 KB
/
docker-compose.yml
File metadata and controls
52 lines (49 loc) · 1.26 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
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
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