forked from ml-lab/DeepVideoAnalytics
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-dev.yaml.template
More file actions
65 lines (65 loc) · 1.9 KB
/
docker-compose-dev.yaml.template
File metadata and controls
65 lines (65 loc) · 1.9 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
53
54
55
56
57
58
59
60
61
62
63
64
65
version: '3'
services:
db:
image: postgres:9.6.6
container_name: dva-pg
volumes:
- dvapgdata:/var/lib/postgresql/data
env_file:
- ../../custom.env
rabbit:
image: rabbitmq
container_name: dva-rmq
env_file:
- ../../custom.env
volumes:
- dvarabbit:/var/lib/rabbitmq
redis:
image: bitnami/redis:latest
container_name: dva-redis
env_file:
- ../../custom.env
volumes:
- dvaredis:/bitnami
dva:
image: {cpu_image}
container_name: webserver
env_file:
- ../../custom.env
environment:
- LAUNCH_SERVER_NGINX=1
- LAUNCH_Q_GLOBAL_MODEL=1
- LAUNCH_Q_GLOBAL_RETRIEVER=1
- LAUNCH_BY_NAME_indexer_inception=1
- LAUNCH_BY_NAME_indexer_facenet=1
- LAUNCH_BY_NAME_retriever_inception=1
- LAUNCH_BY_NAME_retriever_facenet=1
- LAUNCH_BY_NAME_detector_coco=1
- LAUNCH_BY_NAME_analyzer_crnn=1
- LAUNCH_BY_NAME_analyzer_tagger=1
- LAUNCH_BY_NAME_detector_face=1
- LAUNCH_BY_NAME_detector_textbox=1
- LAUNCH_Q_qextract=1
- LAUNCH_Q_qtrainer=1
- LAUNCH_Q_qstreamer=1
- LAUNCH_SCHEDULER=1
- LAUNCH_SERVER=1 # This supersedes NGINX and launches django development server with auto-reload
- LAUNCH_NOTEBOOK=1 # Run a jupyter notebook server inside the container to enable easy debugging
- ENABLE_DEBUG=1 # Enables django debug mode
command: bash -c "cd /root/DVA/repos/tf_ctpn_cpu/lib/utils/ && ./make.sh && cd /root/DVA/server/ && sleep 10 && ./start_container.py"
ports:
- "127.0.0.1:8000:80"
- "127.0.0.1:8889:8888"
depends_on:
- db
- rabbit
- redis
volumes:
- ../../:/root/DVA/
- ../../configs/custom_defaults:/root/DVA/configs/custom_defaults
tmpfs:
- /root/media
volumes:
dvapgdata:
dvarabbit:
dvaredis: