-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (45 loc) · 951 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
49 lines (45 loc) · 951 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
37
38
39
40
41
42
43
44
45
46
47
48
49
version: "3.9"
services:
api:
build:
context: .
dockerfile: Dockerfile
target: runtime
container_name: aegis-api
ports:
- "8000:8000"
env_file:
- .env
volumes:
# Mount app code for hot reload during development
- ./app:/app/app
command: >
uvicorn app.main:app
--host 0.0.0.0
--port 8000
--reload
depends_on:
- mlflow
networks:
- aegis-net
mlflow:
image: ghcr.io/mlflow/mlflow:v2.13.0
container_name: aegis-mlflow
ports:
- "5000:5000"
volumes:
- mlflow-data:/mlflow
command: >
mlflow server
--host 0.0.0.0
--port 5000
--backend-store-uri sqlite:///mlflow/mlflow.db
--default-artifact-root /mlflow/artifacts
networks:
- aegis-net
volumes:
mlflow-data:
driver: local
networks:
aegis-net:
driver: bridge