-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-igf-lims.yaml
86 lines (86 loc) · 2.4 KB
/
docker-compose-igf-lims.yaml
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
version: '3.9'
networks:
portal_network:
driver: bridge
services:
portal_db:
image: mysql:5.7
env_file: env
restart: always
volumes:
- /home/igf/igf_portal/mysqlappdb:/var/lib/mysql:rw
container_name: portal_db
networks:
- portal_network
redis_db:
image: redis:6.2
restart: always
container_name: redis_db
networks:
- portal_network
webserver:
image: imperialgenomicsfacility/igfportal:v1
env_file: env
ports:
- "8089:8080"
restart: always
links:
- portal_db
- redis_db
depends_on:
- portal_db
- redis_db
volumes:
- /home/igf/igf_portal/github/IGFPortal:/github/IGFPortal:ro
- /home/igf/igf_portal/ssl_cert:/SSL:ro
- /tmp:/TMP_WORK_DIR:rw
container_name: webserver
command: ["gunicorn -b 0.0.0.0:8080 --certfile=/SSL/portal.cert --keyfile=/SSL/portal.key --threads 4 server:app"]
networks:
- portal_network
celery_worker1:
image: imperialgenomicsfacility/igfportal:v1
env_file: env
links:
- portal_db
- redis_db
depends_on:
- portal_db
- redis_db
restart: always
volumes:
- /home/igf/igf_portal/github/IGFPortal:/github/IGFPortal:ro
- /home/igf/igf_portal/secret/airflow_conf.json:/secret/airflow_conf.json:ro
- /tmp:/TMP_WORK_DIR:rw
container_name: celery_worker1
command: ["celery -A app.celery worker --loglevel=INFO"]
networks:
- portal_network
celery_flower:
image: imperialgenomicsfacility/igfportal:v1
env_file: env
restart: always
ports:
- "5556:5555"
links:
- redis_db
- portal_db
depends_on:
- redis_db
- portal_db
volumes:
- /home/igf/igf_portal/github/IGFPortal:/github/IGFPortal:ro
container_name: celery_flower
command: ["celery -A app.celery flower --basic_auth=$${BASIC_AUTH}"]
networks:
- portal_network
adminer2:
image: adminer:latest
links:
- portal_db
ports:
- "8082:8080"
restart: always
container_name: adminer2
networks:
- portal_network