-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
85 lines (75 loc) · 1.87 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
version: "3"
services:
postgis:
image: registry.gitlab.com/bagage/batimap/postgis
env_file:
- ./.env
volumes:
- ./data/postgis:/var/lib/postgresql/data
imposm:
image: registry.gitlab.com/bagage/batimap/imposm
env_file:
- ./.env
depends_on:
- postgis
volumes:
- ./data/imposm:/data
imposm-watcher:
image: registry.gitlab.com/bagage/batimap/imposm-watcher
volumes:
- ./data/imposm/updated-tiles:/data
tiles:
image: registry.gitlab.com/bagage/batimap/tiles
env_file:
- ./.env
volumes:
- ./data/tiles/cache:/data/cache
depends_on:
- postgis
tiles-cleaner:
image: registry.gitlab.com/bagage/batimap/tiles-cleaner
env_file:
- ./.env
volumes:
- ./data/tiles:/data
redis:
image: redis:6-alpine
command: redis-server --appendonly yes
volumes:
- ./data/redis:/data
celery:
image: registry.gitlab.com/bagage/batimap/back
env_file:
- ./.env
command: celery -A batimap.app_celery:app worker --loglevel=info --queues celery
volumes:
- ./back/app-docker.conf/:/code/batimap/app.conf:ro
- ./data/tiles:/code/tiles
depends_on:
- redis
- postgis
celery-slow:
image: registry.gitlab.com/bagage/batimap/back
env_file:
- ./.env
command: celery -A batimap.app_celery:app worker --loglevel=info --queues celery_slow
volumes:
- ./back/app-docker.conf/:/code/batimap/app.conf:ro
- ./data/tiles:/code/tiles
depends_on:
- redis
- postgis
back:
image: registry.gitlab.com/bagage/batimap/back
env_file:
- ./.env
volumes:
- ./back/app-docker.conf/:/code/batimap/app.conf:ro
- ./data/tiles:/code/tiles
depends_on:
- postgis
front:
image: registry.gitlab.com/bagage/batimap/front
depends_on:
- tiles
- back