-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose-lib.yaml
323 lines (307 loc) · 7.13 KB
/
docker-compose-lib.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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
---
version: '2.0'
services:
config:
image: ${DOCKER_BASE}-config:${DOCKER_TAG}
user: www-data
environment:
- VISIBLE_WEB_HOST
- VISIBLE_WEB_PROTOCOL
- VISIBLE_ENTRY_POINT
- PGHOST
- PGHOST_SLAVE
- PGPORT
- PGPORT_SLAVE
- PGUSER
- PGPASSWORD
- PGDATABASE
- PGSSLMODE
- PGSCHEMA_STATIC
- GEOPORTAL_INTERNAL_URL
- GEOPORTAL_INTERNAL_HOST
- GEOPORTAL_INTERNAL_PORT
- TILECLOUDCHAIN_INTERNAL_URL
- TILECLOUDCHAIN_INTERNAL_HOST
- TILECLOUDCHAIN_INTERNAL_PORT
- MAPSERVER_URL
- REDIS_HOST
- REDIS_PORT
- REDIS_DB
- TILEGENERATION_SQS_QUEUE
- TILEGENERATION_S3_BUCKET
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_DEFAULT_REGION
- AWS_S3_ENDPOINT
print:
image: camptocamp/mapfish_print:3.22
user: www-data
restart: unless-stopped
environment:
- CATALINA_OPTS
- PGOPTIONS
mapserver:
image: camptocamp/mapserver:7.4
user: www-data
restart: unless-stopped
entrypoint: []
environment:
- PGOPTIONS
qgisserver:
image: camptocamp/geomapfish-qgisserver:gmf2.5-qgis${QGIS_VERSION}
user: www-data
restart: unless-stopped
environment:
- PGHOST
- PGHOST_SLAVE
- PGPORT
- PGPORT_SLAVE
- PGUSER
- PGPASSWORD
- PGDATABASE
- PGSSLMODE
- PGSCHEMA_STATIC
- C2C_REDIS_URL
- C2C_BROADCAST_PREFIX
- PGOPTIONS
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_DEFAULT_REGION
- AWS_S3_ENDPOINT
- CPL_VSIL_CURL_USE_CACHE
- CPL_VSIL_CURL_CACHE_SIZE
- CPL_VSIL_CURL_USE_HEAD
- GDAL_DISABLE_READDIR_ON_OPEN
- QGIS_SERVER_LOG_LEVEL=2
- LOG_LEVEL=INFO
- C2CGEOPORTAL_LOG_LEVEL
- SQL_LOG_LEVEL
- OTHER_LOG_LEVEL
tinyows:
image: camptocamp/tinyows:master
user: www-data
restart: unless-stopped
redis:
image: redis:5
user: www-data
restart: unless-stopped
command:
- redis-server
- --save
- ''
- --appendonly
- 'no'
- --maxmemory
- 512mb
- --maxmemory-policy
- volatile-lru
- --tcp-keepalive
- '30'
tilecloudchain:
image: camptocamp/tilecloud-chain:1.13
user: www-data
restart: unless-stopped
environment:
- GUNICORN_PARAMS
- VISIBLE_ENTRY_POINT
- C2C_REDIS_URL
- TILEGENERATION_CONFIGFILE=/etc/tilegeneration/config.yaml
- C2C_BASE_PATH=/tiles/c2c
- C2C_BROADCAST_PREFIX=broadcast_tilecloudchain_
- C2C_LOG_VIEW_ENABLED=TRUE
- C2C_DEBUG_VIEW_ENABLED=TRUE
- C2C_SQL_PROFILER_ENABLED=TRUE
- C2C_SECRET
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
tilegeneration_slave:
image: camptocamp/tilecloud-chain:1.13
user: www-data
restart: unless-stopped
entrypoint:
- generate_tiles
- --role=slave
- --daemon
environment:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
geoportal:
image: ${DOCKER_BASE}-geoportal:${DOCKER_TAG}
user: www-data
restart: unless-stopped
environment:
- VISIBLE_ENTRY_POINT
- PACKAGE=geoportailv3
- PGHOST
- PGHOST_SLAVE
- PGPORT
- PGPORT_SLAVE
- PGUSER
- PGPASSWORD
- PGDATABASE
- PGSSLMODE
- PGSCHEMA_STATIC
- PGOPTIONS
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_DEFAULT_REGION
- AWS_S3_ENDPOINT
- GUNICORN_PARAMS
- VISIBLE_WEB_HOST
- VISIBLE_WEB_PROTOCOL
- AUTHTKT_TIMEOUT
- AUTHTKT_REISSUE_TIME
- AUTHTKT_MAXAGE
- AUTHTKT_SECRET
- AUTHTKT_COOKIENAME
- AUTHTKT_HTTP_ONLY
- AUTHTKT_SECURE
- AUTHTKT_SAMESITE
- BASICAUTH
- TINYOWS_URL
- MAPSERVER_URL
- QGISSERVER_URL
- PRINT_URL
- DEVSERVER_HOST
- REDIS_HOST
- REDIS_PORT
- REDIS_DB
- C2C_REDIS_URL
- C2C_BROADCAST_PREFIX
- C2C_LOG_VIEW_ENABLED=TRUE
- C2C_SQL_PROFILER_ENABLED=TRUE
- C2C_DEBUG_VIEW_ENABLED=TRUE
- C2C_SECRET
- LOG_LEVEL
- C2CGEOPORTAL_LOG_LEVEL
- SQL_LOG_LEVEL
- GUNICORN_LOG_LEVEL
- OTHER_LOG_LEVEL
- DOGPILECACHE_LOG_LEVEL
- LOG_TYPE
- ARCGIS_TOKEN_URL
- ARCGIS_TOKEN_VALIDITY
- ARCGIS_TOKEN_REFERER
- ARCGIS_USER
- ARCGIS_PASS
tools:
image: camptocamp/geomapfish-tools:2.5.0.139
restart: unless-stopped
environment:
- PGSCHEMA
# From geoportal
- VISIBLE_ENTRY_POINT
- PACKAGE=geoportailv3
- PGHOST
- PGHOST_SLAVE
- PGPORT
- PGPORT_SLAVE
- PGUSER
- PGPASSWORD
- PGDATABASE
- PGSSLMODE
- PGSCHEMA_STATIC
- PGOPTIONS
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_DEFAULT_REGION
- AWS_S3_ENDPOINT
- GUNICORN_PARAMS
- VISIBLE_WEB_HOST
- VISIBLE_WEB_PROTOCOL
- AUTHTKT_TIMEOUT
- AUTHTKT_REISSUE_TIME
- AUTHTKT_MAXAGE
- AUTHTKT_SECRET
- AUTHTKT_COOKIENAME
- AUTHTKT_HTTP_ONLY
- AUTHTKT_SECURE
- AUTHTKT_SAMESITE
- BASICAUTH
- TINYOWS_URL
- MAPSERVER_URL
- QGISSERVER_URL
- PRINT_URL
- DEVSERVER_HOST
- REDIS_HOST
- REDIS_PORT
- REDIS_DB
- C2C_REDIS_URL
- C2C_BROADCAST_PREFIX
- C2C_LOG_VIEW_ENABLED=TRUE
- C2C_SQL_PROFILER_ENABLED=TRUE
- C2C_DEBUG_VIEW_ENABLED=TRUE
- C2C_SECRET
- LOG_LEVEL
- C2CGEOPORTAL_LOG_LEVEL
- SQL_LOG_LEVEL
- GUNICORN_LOG_LEVEL
- OTHER_LOG_LEVEL
- DOGPILECACHE_LOG_LEVEL
- LOG_TYPE
alembic:
image: ${DOCKER_BASE}-geoportal:${DOCKER_TAG}
user: www-data
entrypoint: []
command:
- alembic
- --name=static
- upgrade
- head
environment:
- PGHOST
- PGHOST_SLAVE
- PGPORT
- PGPORT_SLAVE
- PGUSER
- PGPASSWORD
- PGDATABASE
- PGSSLMODE
- PGSCHEMA_STATIC
- LOG_TYPE
front:
image: haproxy:1.9
restart: unless-stopped
volumes:
- /dev/log:/dev/log:rw
command:
- haproxy
- -f
- /etc/${FRONT_CONFIG}
ports:
- ${DOCKER_PORT}:${FRONT_INNER_PORT}
webpack_dev_server:
image: ${DOCKER_BASE}-geoportal-dev:${DOCKER_TAG}
volumes:
- ./geoportal/geoportailv3_geoportal/static-ngeo:/app/geoportailv3_geoportal/static-ngeo
environment:
- VISIBLE_ENTRY_POINT
- VISIBLE_WEB_HOST
- VISIBLE_WEB_PROTOCOL
- PGHOST
- PGHOST_SLAVE
- PGPORT
- PGPORT_SLAVE
- PGUSER
- PGPASSWORD
- PGDATABASE
- PGSSLMODE
- PGSCHEMA_STATIC
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_DEFAULT_REGION
- AWS_S3_ENDPOINT
pytree:
image: pytree:1.0.0
environment:
DEPLOY_ENV: ${DEPLOY_ENV:-DEV}
restart: unless-stopped
build:
context: ./lidar
dockerfile: Dockerfile
command: /app/start_server.sh
volumes:
- ./lidar/data:/app/data/processed
- ./lidar/pytree.yml:/app/pytree.yml
ports:
- "${PORT:-6001}:5000"