-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (34 loc) · 866 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
36 lines (34 loc) · 866 Bytes
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
services:
app:
build:
context: .
target: app
command: python -m apex_engine.cli demo --artifact-root /app/artifacts/runs/demo
volumes:
- .:/app
environment:
PYTHONUNBUFFERED: "1"
api:
build:
context: .
target: api
environment:
APEX_ARTIFACT_ROOT: /app/artifacts/runs
ASPNETCORE_URLS: http://0.0.0.0:8080
ports:
- "8080:8080"
volumes:
- ./artifacts:/app/artifacts
dashboard:
build:
context: .
target: dashboard
command: python -m apex_engine.cli dashboard run --artifact-root /app/artifacts/runs/demo --host 0.0.0.0 --port 8501
environment:
APEX_ARTIFACT_ROOT: /app/artifacts/runs/demo
STREAMLIT_SERVER_HEADLESS: "true"
STREAMLIT_BROWSER_GATHER_USAGE_STATS: "false"
ports:
- "8501:8501"
volumes:
- .:/app