-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
103 lines (92 loc) · 2.44 KB
/
docker-compose.yml
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
version: '3.7'
x-environment: &commonEnvironment
DIR_MOUNT: "${DATA_DIR}"
DATA_DIR: "/app/work/data"
PROJECT_ID: "-1"
MLCOACH_URL: "http://localhost:8062"
DATA_CLINIC_URL: "http://localhost:8072"
SPLASH_URL: http://splash:80/api/v0
MLEX_COMPUTE_URL: ${MLEX_COMPUTE_URL}
MLEX_CONTENT_URL: ${MLEX_CONTENT_URL}
HOST_NICKNAME: "local"
TILED_KEY: "${TILED_KEY}"
DEFAULT_TILED_URI: "${DEFAULT_TILED_URI}"
APP_HOST: "0.0.0.0"
APP_PORT: "8050"
services:
# MongoDB
splash_db:
image: mongo:4.4
container_name: "splash_db"
working_dir: /data/db
volumes:
- "${PWD}/database:/data/db"
environment:
MONGO_INITDB_ROOT_USERNAME: ${MONGO_DB_USERNAME}
MONGO_INITDB_ROOT_PASSWORD: ${MONGO_DB_PASSWORD}
networks:
- computing_api_default
splash:
image: ghcr.io/als-computing/splash-ml:master
container_name: "splash"
environment:
APP_MODULE: "tagging.api:app"
LOGLEVEL: DEBUG
MONGO_DB_URI: mongodb://${MONGO_DB_USERNAME}:${MONGO_DB_PASSWORD}@splash_db:27017
MAX_WORKERS: 8
ports:
- "127.0.0.1:8085:80"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80/api/splash_ml/docs#"]
interval: 30s
timeout: 10s
retries: 5
networks:
- computing_api_default
labelmaker:
container_name: "labelmaker"
image: ghcr.io/mlexchange/mlex_labelmaker:main
environment:
*commonEnvironment
volumes:
- $DATA_DIR:/app/work/data
ports:
- 127.0.0.1:8057:8050
depends_on:
splash:
condition: service_healthy
networks:
- computing_api_default
mlcoach:
container_name: "mlcoach"
image: ghcr.io/mlexchange/mlex_mlcoach:main
environment:
*commonEnvironment
volumes:
- $DATA_DIR:/app/work/data
ports:
- 127.0.0.1:8062:8050
depends_on:
splash:
condition: service_healthy
networks:
- computing_api_default
data_clinic:
container_name: "data_clinic"
image: ghcr.io/mlexchange/mlex_data_clinic:master
environment:
*commonEnvironment
volumes:
- $DATA_DIR:/app/work/data
ports:
- 127.0.0.1:8072:8050
networks:
- computing_api_default
# ML algorithms
autoencoders:
image: ghcr.io/mlexchange/mlex_pytorch_autoencoders:main
classifier:
image: ghcr.io/mlexchange/mlex_image_classification:main
networks:
computing_api_default:
external: true