-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
134 lines (117 loc) · 2.68 KB
/
docker-compose.yaml
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
---
# The project Docker compose file for development.
version: '2.3'
volumes:
postgresql_data:
services:
config:
extends:
file: docker-compose-lib.yaml
service: config
print:
extends:
file: docker-compose-lib.yaml
service: print
volumes_from:
- config:ro
mapserver:
extends:
file: docker-compose-lib.yaml
service: mapserver
volumes_from:
- config:ro
volumes:
- /var/sig:/var/sig:ro
## qgisserver:
## extends:
## file: docker-compose-lib.yaml
## service: qgisserver
## volumes_from:
## - config:ro
## environment:
## - QGIS_SERVER_LANDING_PAGE_PROJECTS_DIRECTORIES=/etc/qgisserver/
## # Or
## - QGIS_SERVER_LANDING_PAGE_PROJECTS_PG_CONNECTIONS=...
tinyows:
extends:
file: docker-compose-lib.yaml
service: tinyows
volumes_from:
- config:ro
# Standalone version
redis:
extends:
file: docker-compose-lib.yaml
service: redis
# To test Kubernetes version
# redis_master:
# extends:
# file: docker-compose-lib.yaml
# service: redis_master
#
# redis_slave:
# extends:
# file: docker-compose-lib.yaml
# service: redis_slave
# depends_on:
# - redis_master
#
# redis_sentinel:
# extends:
# file: docker-compose-lib.yaml
# service: redis_sentinel
# depends_on:
# - redis_master
tilecloudchain:
extends:
file: docker-compose-lib.yaml
service: tilecloudchain
volumes_from:
- config:ro
tilegeneration_slave:
extends:
file: docker-compose-lib.yaml
service: tilegeneration_slave
volumes_from:
- config:ro
geoportal:
extends:
file: docker-compose-lib.yaml
service: geoportal-advance
volumes_from:
- config:ro
volumes:
- /var/sig:/var/sig:ro
environment:
- GEOSERVER_URL
alembic:
extends:
file: docker-compose-lib.yaml
service: alembic-advance
front:
extends:
file: docker-compose-lib.yaml
service: front
volumes_from:
- config:ro
# Rich image for project development with e.-g. vim, tree, awscli, psql, ...
tools:
extends:
file: docker-compose-lib.yaml
service: tools
db:
extends:
file: docker-compose-lib.yaml
service: db
image: postgis/postgis:14-3.2-alpine
ports:
- 5432:5432
volumes:
- ~/data/pg:/var/lib/postgresql/data:rw
geoserver:
image: camptocamp/geoserver:2.22.2
ports:
- 8080:8080
volumes:
- ${ESRI_FONT_PATH:-/usr/local/share/fonts/esri}:/usr/local/share/fonts/esri:ro
- ~/data/geoserver_datadir:/mnt/geoserver_datadir:rw