-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml.example
42 lines (35 loc) · 1.01 KB
/
docker-compose.yml.example
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
version: "3.5"
services:
siiifu:
restart: always
build: ./web
ports:
- 5002:5000
expose:
- 5000
volumes:
- ./web:/app
- cache-volume:/data/cache
command: /usr/local/bin/gunicorn -k gevent --reload --pythonpath /app --workers 5 --worker-connections 100 --timeout 300 -b :5000 siiifu:app
worker:
restart: always
build: ./web
expose:
- 5001
volumes:
- ./web:/app
- cache-volume:/data/cache
command: /usr/local/bin/gunicorn -k gevent --reload --pythonpath /app --workers 1 --worker-connections 10 --timeout 300 -b :5000 image:app
siiifu-front:
restart: always
image: nginx
expose:
- 8080
ports:
- 8080:8080
volumes:
- ./etc/default.conf:/etc/nginx/conf.d/default.conf
- ./web/static:/www/static
- cache-volume:/data/cache
volumes:
cache-volume: