-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
30 lines (30 loc) · 941 Bytes
/
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
version: '2.3'
services:
nginx:
depends_on:
- annotation-tool
image: nginx:1.18
volumes:
- "./nginx_config/my_site:/etc/nginx/conf.d/default.conf"
- "./authentication/.htpasswd:/etc/apache2/.htpasswd"
- "./certs/my_ssl/cer:/etc/nginx/certs/my_ssl/cer"
- "./certs/my_ssl/key:/etc/nginx/certs/my_ssl/key"
ports:
- "80:80"
- "443:443"
restart: unless-stopped
annotation-tool:
image: registry.insight-centre.org/annsou/annotation-tool:updated
build:
context: '.'
dockerfile: 'Dockerfile'
volumes:
- "./static/videos:/app/static/videos"
- "./video_annotation_with_annotator.db:/app/video_annotation_with_annotator.db"
- "./conf.py:/app/conf.py"
- "./app.py:/app/app.py"
environment:
- VIDEO_LIST=${VIDEO_LIST}
# command: python3 app.py
command: gunicorn --bind 0.0.0.0:5000 wsgi:app
restart: unless-stopped