-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
65 lines (63 loc) · 1.67 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
services:
flask:
build:
context: ./flask_server
dockerfile: ./Dockerfile
stdin_open: true
tty: true
volumes:
- ./flask_server:/flask_server
- ./Image-Comparator-Data:/Image-Comparator-Data
working_dir: /flask_server
env_file:
- .env
environment:
- FLASK_APP=${FLASK_APP}
- IMAGE_COMPARATOR_DATA=${IMAGE_COMPARATOR_DATA}
- DNS=${DNS}
- SSL=${SSL} 5t bfcdc
- DB_PORT=${DB_PORT}
- HTTP_PORT=${HTTP_PORT}
- DEPLOY=${DEPLOY}
- COUCH_DB=${COUCH_DB}
- COUCHDB_USER=${COUCHDB_USER}
- COUCHDB_PASSWORD=${COUCHDB_PASSWORD}
- ADMIN_PARTY=${ADMIN_PARTY}
- SECRET_KEY=${SECRET_KEY}
command: bash -c "/flask_server/OPTIMEyes/utils/setup.sh"
# command: sleep 1000000
ports:
- ${HTTP_PORT}:8080
depends_on:
- couchdb
couchdb:
image: couchdb:latest
ports:
- "${COUCH_PORT}:5984"
env_file:
- .env
environment:
- COUCH_DB=${COUCH_DB}
- COUCHDB_USER=${COUCHDB_USER}
- COUCHDB_PASSWORD=${COUCHDB_PASSWORD}
- DB_LOCATION=${DB_LOCATION}
- COUCH_PORT=${COUCH_PORT}
volumes:
- ${DB_LOCATION}:/opt/couchdb/data
- ./flask_server:/flask_server
monailabel:
build:
context: ./monailabel
ports:
- 8000:8000
volumes:
- ./monailabel:/monailabel
stdin_open: true
tty: true
working_dir: /monailabel
env_file:
- .env
environment:
- MONAI_LABEL_ENV=development
command: monailabel start_server --app apps/monaibundle --studies datastore --conf bundles IntegrationBundle,SegformerBundle,MedSamBundle --conf zoo_source ngc
# command: bash