-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
47 lines (44 loc) · 1.34 KB
/
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
43
44
45
46
47
version: '3'
services:
gemtractor-py:
image: binfalse/gemtractor:app
container_name: gemtractor-py
restart: unless-stopped
ports:
- "80"
environment:
# see https://gemtractor.bio.informatik.uni-rostock.de/learn#own-settings
DJANGO_DEBUG: 'False'
DJANGO_LOG_LEVEL: INFO
DJANGO_ALLOWED_HOSTS: gemtractor-py
STORAGE_DIR: /storage
KEEP_UPLOADED: 5400
KEEP_GENERATED: 600
CACHE_BIGG: 86400
CACHE_BIGG_MODEL: 604800
CACHE_BIOMODELS: 86400
CACHE_BIOMODELS_MODEL: 432000
MAX_ENTITIES_FILTER: 10000
HEALTH_SECRET: XXX
# optionally also mount a directory to /storage (see STORAGE_DIR above)
# to get persistent storage even after the container is rebuilt
logging:
driver: syslog
options:
# see https://binfalse.de/2018/02/21/logging-with-docker/
tag: docker/web/gemtractor/app
gemtractor-web:
image: binfalse/gemtractor:webserver
container_name: gemtractor-web
restart: unless-stopped
environment:
GEMTRACTOR_APP: gemtractor-py
depends_on:
- gemtractor-py
ports:
- "80:80"
logging:
driver: syslog
options:
# see https://binfalse.de/2018/02/21/logging-with-docker/
tag: docker/web/gemtractor/nginx