/
docker-compose.yml
69 lines (62 loc) · 1.09 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
version: "2.3"
volumes:
pgdata:
imposm:
networks:
postgres_conn:
driver: bridge
web_conn:
driver: bridge
services:
postgres:
image: postgis/postgis:13-3.0
command: postgres -c jit=off
env_file: .env
volumes:
- pgdata:/var/lib/postgresql/data
networks:
- postgres_conn
imposm:
build:
context: imposm
restart: always
working_dir: /code
env_file: .env
volumes:
- imposm:/imposm
- ./imposm:/config
- ./data:/data
depends_on:
- postgres
networks:
- postgres_conn
pg_tileserv:
image: pramsey/pg_tileserv
env_file: .env
depends_on:
- postgres
networks:
- postgres_conn
- web_conn
front:
image: node:12
working_dir: /code
command: yarn dev
env_file: .env
volumes:
- ./front:/code
depends_on:
- pg_tileserv
networks:
- web_conn
nginx:
image: nginx
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- front
- pg_tileserv
ports:
- "3000:80"
networks:
- web_conn