forked from microsoft/aerial_wildlife_detection
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
28 lines (27 loc) · 999 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
version: '3.7'
volumes:
aide_db_data:
name: aide_db_data
# external: true
aide_files:
name: aide_files
services:
aide_app:
hostname: 'aide_app_host'
build:
context: '.'
dockerfile: 'Dockerfile'
image: 'aide_app'
volumes:
- aide_db_data:/var/lib/postgresql/10/main
- aide_files:/home/aide/files
- .:/home/aide/app:cached
- /home/jszczegielniak/src/data/images:/home/aide/images
- /home/jszczegielniak/src/data/labels:/home/aide/labels
# - /Users/jarek/_Documents.Private/Objectivity/src/rspb/data/images:/home/aide/images
# - /Users/jarek/_Documents.Private/Objectivity/src/rspb/data/labels:/home/aide/labels
ports:
- '8080:8080'
# Overrides default command so things don't shut down after the process ends.
#command: gunicorn --workers=4 --bind 0.0.0.0:9000 --log-level=debug --error-logfile=- --access-logfile=- --timeout 60 --preload app:APP
#command: flask run --host 0.0.0.0 --port 9000