-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.production.yml
49 lines (44 loc) · 1.07 KB
/
docker-compose.production.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
version: '2'
services:
app:
container_name: planwise-prod-app
image: instedd/planwise:latest
environment:
CALCULATE_DEMAND: 'true'
DATABASE_URL: "jdbc:postgresql://db/planwise?user=planwise&password=planwise"
MAIL_SENDER: [email protected]
PORT: 3000
POSTGRES_DB: planwise
POSTGRES_HOST: db
POSTGRES_PASSWORD: planwise
POSTGRES_USER: planwise
RASTER_ISOCHRONES: 'true'
env_file: ".docker-env"
volumes:
- data:/data
depends_on:
- db
ports:
- "3000:3000"
db:
container_name: planwise-prod-db
image: starefossen/pgrouting:10.1-2.4-2.5
environment:
POSTGRES_PASSWORD: planwise
POSTGRES_USER: planwise
POSTGRES_DB: routing
volumes:
- db:/var/lib/postgresql/data
mapcache:
container_name: planwise-prod-mapcache
image: instedd/planwise-mapcache:kenya
pid: host
mapserver:
container_name: planwise-prod-mapserver
image: instedd/planwise-mapserver:kenya
pid: host
volumes:
- data:/data
volumes:
db:
data: