-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.cheo.yaml
52 lines (51 loc) · 1.32 KB
/
docker-compose.cheo.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
version: "3.9"
services:
app:
image: "ghcr.io/ccmbioinfo/stager:${ST_VERSION}"
user: www-data
environment:
FORWARDED_ALLOW_IPS: "*" # equivalent to --forwarded-allow-ips, we are behind a reverse proxy
ST_SECRET_KEY:
ST_DATABASE_URI: "mysql+pymysql://${MYSQL_CONNECTION_STRING}"
SQLALCHEMY_SIDECAR: /var/tmp/sqlalchemy.fifo
MINIO_ENDPOINT:
MINIO_ACCESS_KEY:
MINIO_SECRET_KEY:
MINIO_REGION_NAME: hpc4health
MSTEAMS_WEBHOOK_URL:
SENDGRID_API_KEY:
SENDGRID_EMAIL_TEMPLATE_ID:
SENDGRID_TO_EMAIL:
SENDGRID_FROM_EMAIL:
SLURM_ENDPOINT:
SLURM_USER:
SLURM_JWT:
SLURM_PWD: /srv/shared/analyses/logs
CRG2_ENTRYPOINT: /srv/shared/pipelines/crg2/dnaseq_slurm_api.sh
ports:
- "5000:5000"
- "9121:8080"
command: --workers ${GUNICORN_WORKERS:-1}
tmpfs:
- /tmp
volumes:
- log-fifo:/var/tmp
healthcheck:
test: ["CMD", "./healthcheck.py"]
restart: unless-stopped
logging:
driver: journald
sidecar-sqlalchemy:
image: busybox
init: true
user: www-data
command: tail -f -n +1 /var/log/stager/sqlalchemy.fifo
volumes:
- log-fifo:/var/log/stager:ro
depends_on:
- app
restart: unless-stopped
logging:
driver: journald
volumes:
log-fifo: