-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose.yaml
192 lines (173 loc) · 4.48 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
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
# The project Docker compose file.
volumes:
postgresql_data:
services:
config:
extends:
file: docker-compose-lib.yaml
service: config
environment:
- OSM_PGDATABASE
- OSM_PGHOST
- OSM_PGHOST_SLAVE
- OSM_PGPORT
- OSM_PGPORT_SLAVE
- OSM_PGPASSWORD
- OSM_PGUSER
- RASTER_BASE_PATH
- AZURE_STORAGE_CONNECTION_STRING
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
qgisserver:
extends:
file: docker-compose-lib.yaml
service: qgisserver
volumes_from:
- config:ro
environment:
- AZURE_STORAGE_CONNECTION_STRING
- QGIS_SERVER_LANDING_PAGE_PROJECTS_DIRECTORIES=/etc/qgisserver
- QGIS_SERVER_LANDING_PAGE_PREFIX=/mapserv_proxy/qgis
# 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 Sentinel 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
environment:
- AZURE_STORAGE_CONNECTION_STRING
- C2C_SECRET=
- C2C_AUTH_GITHUB_PROXY_URL=https://mutualize-int.apps.gs-ch-dev.camptocamp.com/redirect
- C2C_AUTH_GITHUB_REPOSITORY=camptocamp/argocd-gs-platform-ch-development-apps
- C2C_AUTH_GITHUB_ACCESS_TYPE=admin
- C2C_USE_SESSION=true
- C2C_AUTH_GITHUB_CLIENT_ID
- C2C_AUTH_GITHUB_CLIENT_SECRET
- C2C_AUTH_GITHUB_SECRET
- TILECLOUD_CHAIN_SESSION_SECRET
- TILECLOUD_CHAIN_SESSION_SALT
volumes_from:
- config:ro
tilegeneration_slave:
extends:
file: docker-compose-lib.yaml
service: tilegeneration_slave
volumes_from:
- config:ro
environment:
- AZURE_STORAGE_CONNECTION_STRING
- AWS_DEFAULT_REGION
geoportal:
extends:
file: docker-compose-lib.yaml
service: geoportal
volumes_from:
- config:ro
environment:
- PGSCHEMA
- OSM_PGDATABASE
- OSM_PGHOST
- OSM_PGHOST_SLAVE
- OSM_PGPORT
- OSM_PGPORT_SLAVE
- OSM_PGPASSWORD
- OSM_PGUSER
- RASTER_BASE_PATH
- SMTP_USER
- SMTP_PASSWORD
- SENTRY_URL
- SENTRY_CLIENT_RELEASE=${DOCKER_TAG}
- SENTRY_CLIENT_ENVIRONMENT
- AZURE_STORAGE_CONNECTION_STRING
alembic:
extends:
file: docker-compose-lib.yaml
service: alembic
environment:
- PGSCHEMA
custom:
image: ${DOCKER_BASE}-custom:${DOCKER_TAG}
build:
context: custom
args:
GIT_HASH: ${GIT_HASH}
environment:
- VISIBLE_WEB_HOST
- VISIBLE_ENTRY_POINT
- GEOPORTAL_INTERNAL_URL
- PGSCHEMA
- SQLALCHEMY_POOL_RECYCLE
- SQLALCHEMY_POOL_SIZE
- SQLALCHEMY_MAX_OVERFLOW
- SQLALCHEMY_SLAVE_POOL_RECYCLE
- SQLALCHEMY_SLAVE_POOL_SIZE
- SQLALCHEMY_SLAVE_MAX_OVERFLOW
- SQLALCHEMY_URL=postgresql://${PGUSER}:${PGPASSWORD}@${PGHOST}:${PGPORT}/${PGDATABASE}?sslmode=${PGSSLMODE}
- SQLALCHEMY_SLAVE_URL=postgresql://${PGUSER}:${PGPASSWORD}@${PGHOST_SLAVE}:${PGPORT_SLAVE}/${PGDATABASE}?sslmode=${PGSSLMODE}
- SWISSCOM_CLIENT_ID=${SWISSCOM_CLIENT_ID}
- SWISSCOM_CLIENT_SECRET=${SWISSCOM_CLIENT_SECRET}
front:
extends:
file: docker-compose-lib.yaml
service: front
volumes_from:
- config:ro
# Rich image for project development with e.-g. vim, psql, ...
tools:
extends:
file: docker-compose-lib.yaml
service: tools
environment:
- OSM_PGDATABASE
- OSM_PGHOST
- OSM_PGHOST_SLAVE
- OSM_PGPORT
- OSM_PGPORT_SLAVE
- OSM_PGPASSWORD
- OSM_PGUSER
volumes_from:
- config:ro
# db:
# extends:
# file: docker-compose-lib.yaml
# service: db
# volumes:
# - postgresql_data:/var/lib/postgresql/data