-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
42 lines (42 loc) · 998 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
31
32
33
34
35
36
37
38
39
40
41
42
version: "3.8"
services:
markus_mongodb:
container_name: markus_mongodb
image: mongo
volumes:
- ./volumes/mongo_db/data:/data/db
networks:
- gens-net
markus_gens:
container_name: markus_gens
build: .
volumes:
- ./utils:/home/app/app/utils
- ./gens:/home/app/app/gens
- ./setup.py:/home/app/app/setup.py
- ./volumes/gens/data:/home/app/data
- ./volumes/gens/wgs:/home/app/access/wgs
#- /media/isilon/backup_hopper/results/wgs:/access/wgs
environment:
- FLASK_APP=gens/app.py
- FLASK_ENV=development
- MONGODB_HOST=markus_mongodb
- MONGODB_PORT=27017
- SCOUT_DBNAME=scout
- GENS_DBNAME=gens
expose:
- '5000'
ports:
- "5003:5000"
networks:
- gens-net
depends_on:
- markus_mongodb
command: "flask run --host 0.0.0.0"
networks:
gens-net:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.23.0.0/24