forked from kartoza/docker-geoserver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml.geogig
88 lines (81 loc) · 1.89 KB
/
docker-compose.yml.geogig
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
81
82
83
84
85
86
87
88
version: '2.1'
volumes:
db-backups:
geoserver-data:
geogig-db-data:
geo-db-data:
services:
db:
image: kartoza/postgis:9.6-2.4
volumes:
- geo-db-data:/var/lib/postgresql
ports:
- "25432:5432"
env_file:
- docker-env/geogig-db.env
restart: on-failure
healthcheck:
test: "exit 0"
geogig-db:
image: kartoza/postgis:9.6-2.4
volumes:
- geogig-db-data:/var/lib/postgresql
- db-backups:/backups
env_file:
- docker-env/geogig-db.env
restart: on-failure
healthcheck:
test: "exit 0"
geoserver:
image: kartoza/geoserver:2.13.0
volumes:
- geoserver-data:/opt/geoserver/data_dir
ports:
- "8600:8080"
restart: on-failure
env_file:
- docker-env/geoserver.env
depends_on:
db:
condition: service_healthy
geogig-db:
condition: service_healthy
healthcheck:
test: curl --fail -s http://localhost:8080/ || exit 1
interval: 1m30s
timeout: 10s
retries: 3
geogig:
image: kartoza/geogig:latest
ports:
- "8182:8080"
restart: on-failure
depends_on:
db:
condition: service_healthy
geogig-db:
condition: service_healthy
env_file:
- docker-env/geogig.env
healthcheck:
test: "exit 0"
geogig-db-dbbackups:
image: kartoza/pg-backup:9.6
volumes:
- db-backups:/backups
env_file:
- docker-env/geogig-db-backups.env
restart: on-failure
depends_on:
geogig-db:
condition: service_healthy
db-dbbackups:
image: kartoza/pg-backup:9.6
volumes:
- db-backups:/backups
env_file:
- docker-env/db-backups.env
restart: on-failure
depends_on:
db:
condition: service_healthy