-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.override.yml
85 lines (74 loc) · 1.7 KB
/
docker-compose.override.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
85
version: "3"
services:
postgis:
build: postgis
# command: ["postgres", "-c", "log_statement=all"]
ports:
- "5432:5432"
volumes:
- ./postgis/postgres-dev.conf:/etc/postgresql/postgresql.conf
imposm:
build: imposm
imposm-watcher:
build: imposm-watcher
volumes:
- ./imposm-watcher/:/code
tiles:
build: tiles
ports:
- "9999:9999"
volumes:
- ./tiles/:/app
tiles-cleaner:
build: tiles-cleaner
volumes:
- ./tiles/:/app
celery:
build: back
command: celery -A batimap.app_celery:app worker --loglevel=info --queues celery --concurrency 1
volumes:
- ./back/:/code
celery-slow:
build: back
command: celery -A batimap.app_celery:app worker --loglevel=info --queues celery_slow --concurrency 1
volumes:
- ./back/:/code
back:
build: back
ports:
- "5000:5000"
volumes:
- ./back/:/code
- ./back/app-docker.conf/:/code/app.conf:ro
front:
build:
context: front
dockerfile: Dockerfile.dev
ports:
- "4200:4200"
volumes:
- ./front/:/usr/src/app
- ./data/front/node_modules:/usr/src/app/node_modules
redis:
ports:
- "6379:6379"
pghero:
image: ankane/pghero
ports:
- "8080:8080"
environment:
- DATABASE_URL=postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@$POSTGRES_HOST:$POSTGRES_PORT/$POSTGRES_DB
depends_on:
- postgis
flower:
build: back
env_file:
- ./.env
ports:
- "5566:5566"
command: celery -A batimap.app_celery:app flower --port=5566
volumes:
- ./back/app-docker.conf/:/code/batimap/app.conf:ro
- ./back/:/code
depends_on:
- postgis