-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.yml
80 lines (73 loc) · 1.45 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
70
71
72
73
74
75
76
77
78
79
80
version: '2'
services:
app:
build:
context: .
target: base
platform: linux/amd64
volumes:
- ".:/app"
- m2:/root/.m2
- "lein:/root/.lein"
depends_on:
- db
env_file:
- ./docker-env
command: "lein repl :headless"
ports:
- "47480:47480"
- "3000:3000"
client:
build:
context: .
target: base
platform: linux/amd64
volumes:
- ".:/app"
- m2:/root/.m2
- node_modules:/app/client/node_modules
working_dir: "/app/client"
command: "sh -c 'npm install && npm run watch'"
ports:
- "9630:9630"
db:
image: starefossen/pgrouting:10.1-2.4-2.5
environment:
POSTGRES_PASSWORD: planwise
POSTGRES_USER: planwise
POSTGRES_DB: planwise
volumes:
- db:/var/lib/postgresql/data
ports:
- "5433:5432"
mapcache:
image: camptocamp/mapcache:1.4
volumes:
- "./mapserver/mapcache.xml:/mapcache/mapcache.xml:ro"
depends_on:
- mapserver
ports:
- "5002:80"
mapserver:
image: camptocamp/mapserver:7.0
volumes:
- "./data:/data:ro"
- "./mapserver/planwise.map:/etc/mapserver/planwise.map:ro"
ports:
- "5001:80"
tools:
image: instedd/planwise-tools
platform: linux/amd64
build:
context: scripts
env_file:
- ./docker-env
volumes:
- "./data:/data"
depends_on:
- db
volumes:
db:
lein:
m2:
node_modules: