-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
55 lines (55 loc) · 1.1 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
version: '3'
services:
trump-postgis:
image: mdillon/postgis:11
env_file:
- ./postgis/env
volumes:
- data:/var/lib/postgresql/data
restart: on-failure
trump-mapnik:
image: slothofanarchy/trump-mapnik
build: ./mapnik/
env_file:
- ./mapnik/env
links:
- trump-postgis
tty: true
volumes:
- cache:/var/lib/mod_tile
restart: on-failure
trump-area:
image: slothofanarchy/trump-area
build: ./area/
env_file:
- ./area/env
links:
- trump-postgis
tty: true
restart: on-failure
trump-label:
image: slothofanarchy/trump-label
build: ./label/
env_file:
- ./postgis/env
tty: true
volumes:
- labels:/home/osm/labels
restart: on-failure
trump-client:
image: slothofanarchy/trump-client
build: ./client/
tty: true
restart: on-failure
env_file:
- ./client/env
depends_on:
- trump-mapnik
- trump-area
- trump-label
ports:
- 80:80
volumes:
data: {} # postgis data
cache: {} # mapnik tile cache
labels: {} # dir for label ce file