forked from geostreams/geostreams
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
55 lines (48 loc) · 1.04 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
version: "3.3"
services:
# web service API
geostreams:
image: geostreams/geostreams-api:latest
networks:
- geostreams
ports:
- 9000:9000
environment:
- APPLICATION_SECRET=${APPLICATION_SECRET:-notasecret}
# Configs for docker swarm deployment (WIP)
# configs:
# - source: api_config
# target: /home/geostreams/application.conf
# uid: '103'
# gid: '103'
# mode: 0440
volumes:
- ${PWD}/conf/application.conf:/home/geostreams/conf/application.conf
depends_on:
- postgres
restart: unless-stopped
# postgresql + postgis database
postgres:
image: mdillon/postgis:9.5
networks:
- geostreams
volumes:
- postgres:/var/lib/postgresql/data
restart: unless-stopped
# web frontend
geodashboard:
image: geostreams/geodashboard:3.0-beta
networks:
- geostreams
ports:
- 80:80
depends_on:
- geostreams
restart: unless-stopped
networks:
geostreams:
volumes:
postgres:
#configs:
# api_config:
# file: ./conf/application.conf