forked from binfalse/GEMtractor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (47 loc) · 1.4 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
48
49
50
version: '3'
services:
gemtractor-py:
build: .
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
volumes:
- ./src:/code
# 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: nginx
container_name: gemtractor-web
restart: unless-stopped
depends_on:
- gemtractor-py
ports:
- "80:80"
volumes:
- ./src/static:/var/www/static
- ./nginx.conf:/etc/nginx/nginx.conf
logging:
driver: syslog
options:
# see https://binfalse.de/2018/02/21/logging-with-docker/
tag: docker/web/gemtractor/nginx