-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-cloud.sample.yml
More file actions
38 lines (34 loc) · 948 Bytes
/
docker-cloud.sample.yml
File metadata and controls
38 lines (34 loc) · 948 Bytes
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
db:
image: starefossen/pgrouting:9.4-2.1-2.1
autorestart: always
environment:
POSTGRES_PASSWORD: PLANWISE_POSTGRES_PASSWORD
POSTGRES_USER: planwise
POSTGRES_DB: routing
web:
image: instedd/planwise:latest
autorestart: always
autoredeploy: true
command: /bin/sh -c "/app/scripts/migrate && java -jar $JAR_PATH"
environment:
DATABASE_URL: "jdbc:postgresql://db/routing?user=planwise&password=PLANWISE_POSTGRES_PASSWORD"
POSTGRES_PASSWORD: PLANWISE_POSTGRES_PASSWORD
POSTGRES_USER: planwise
POSTGRES_DB: routing
POSTGRES_HOST: db
volumes_from:
- mapserver-data
mapcache:
image: instedd/planwise-mapcache:kenya
autorestart: always
autoredeploy: true
mapserver:
image: instedd/planwise-mapserver:kenya
autorestart: always
autoredeploy: true
volumes_from:
- mapserver-data
mapserver-data:
image: instedd/planwise-mapserver:kenya-data
autoredeploy: true
command: /bin/true