forked from DavidLacroix/postgis-mvt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
64 lines (62 loc) · 1.18 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
version: '3.5'
services:
postgres:
container_name: postgres-master
image: "mdillon/postgis:latest"
volumes:
- "pgdata:/var/lib/postgresql/data"
ports:
- "5555:5432"
env_file:
- .env
networks:
- global
webapp:
container_name: webapp-master
restart: always
build: ./webapp
image: webapp-master
volumes:
- ./webapp/:/srv/webapp/
ports:
- "8001:8001"
depends_on:
- postgres
links:
- postgres:postgres
env_file: .env
networks:
- global
webapp-demo-data:
container_name: webapp-demo-data-master
build: ./webapp/demo-data
image: webapp-demo-data-master
env_file:
- .env
networks:
- global
depends_on:
- postgres
links:
- postgres:postgres
environment:
WAIT_HOSTS: postgres:5432
slide:
container_name: slide-master
restart: always
build: ./slide
image: slide-master
command: npm start
volumes:
- ./slide/:/srv/slide/
- /srv/slide/node_modules
ports:
- "8000:8000"
env_file: .env
networks:
- global
volumes:
pgdata:
networks:
global:
name: global-network