-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
57 lines (55 loc) · 1.02 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
version: "3.8"
services:
python:
build:
context: .
dockerfile: docker/Dockerfile-python
ports:
- 5000:5000
volumes:
- .:/fhodot
depends_on:
- postgis
- redis
postgis:
image: postgis/postgis:15-3.4
ports:
- 5432:5432
volumes:
- db-data:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: db
POSTGRES_DB: gregrs_fhodot
redis:
image: redis:7.0.15-bookworm
imposm:
environment:
PGHOST: postgis
PGUSER: postgres
PGPASSWORD: db
PGDATABASE: gregrs_fhodot
build:
context: .
dockerfile: docker/Dockerfile-imposm
volumes:
- .:/fhodot
depends_on:
- postgis
node:
build:
context: .
dockerfile: docker/Dockerfile-node
volumes:
- .:/fhodot
working_dir: /fhodot
command: npm run watch
rstats:
build:
context: .
dockerfile: docker/Dockerfile-rstats
volumes:
- .:/fhodot
depends_on:
- postgis
volumes:
db-data: