forked from GeotrekCE/Geotrek-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-prod.yml
59 lines (52 loc) · 1.08 KB
/
docker-compose-prod.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
51
52
53
54
55
56
57
58
59
version: "3"
services:
memcached:
image: memcached:1.5-alpine
redis:
image: redis:5.0-alpine
volumes:
- redis:/data
convertit:
image: makinacorpus/convertit:latest
screamshotter:
image: makinacorpus/screamshotter:v2
celery:
image: geotrekce/admin:${GEOTREK_VERSION:-latest}
env_file:
- .env
volumes:
- ./var:/opt/geotrek-admin/var
depends_on:
- memcached
- redis
user: ${UID:-0}:${GID:-0}
command: celery -A geotrek worker -c 1
web:
image: geotrekce/admin:${GEOTREK_VERSION:-latest}
env_file:
- .env
ports:
- "${WEB_PORT:-8001}:8000"
volumes:
- ./var:/opt/geotrek-admin/var
depends_on:
- memcached
- redis
- screamshotter
- convertit
user: ${UID:-0}:${GID:-0}
api:
image: geotrekce/admin:${GEOTREK_VERSION:-latest}
env_file:
- .env
ports:
- "${API_PORT:-8002}:8000"
volumes:
- ./var:/opt/geotrek-admin/var
depends_on:
- memcached
- redis
user: ${UID:-0}:${GID:-0}
volumes:
postgres:
redis: