forked from Geoportail-Luxembourg/geoportailv3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.sample.yaml
184 lines (177 loc) · 6.3 KB
/
docker-compose.override.sample.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
---
# This file can be renamed as `docker-compose.override.yaml` and uncomment the desired lines for
# development. The file `docker-compose.override.yaml` is ignored by Git by default.
# yamllint disable rule:line-length
version: '2.0'
services:
alembic:
volumes:
# For Python project development.
# - ./geoportal/geoportailv3_geoportal:/app/geoportailv3_geoportal
- ./geoportal/geoportailv3_geoportal/views:/app/geoportailv3_geoportal/views:ro
- ./geoportal/geoportailv3_geoportal/routing:/app/geoportailv3_geoportal/routing:ro
- ./geoportal/c2cgeoportal/geoportal/c2cgeoportal_geoportal/routing:/app/c2cgeoportal/geoportal/c2cgeoportal_geoportal/routing:ro
- ./geoportal/c2cgeoportal/geoportal/c2cgeoportal_geoportal/templates:/app/c2cgeoportal/geoportal/c2cgeoportal_geoportal/templates:ro
- ./geoportal/geoportailv3_geoportal/templates:/app/geoportailv3_geoportal/templates:ro
- ./geoportal/geoportailv3_geoportal/scripts:/app/geoportailv3_geoportal/scripts:ro
- ./geoportal/geoportailv3_geoportal/lib:/app/geoportailv3_geoportal/lib:ro
- ./geoportal/geoportailv3_geoportal/static-ngeo/js:/app/geoportailv3_geoportal/static-ngeo/js:ro
- ./geoportal/geoportailv3_geoportal/static-ngeo/less:/app/geoportailv3_geoportal/static-ngeo/less:ro
# - ./geoportal/jsapi:/app/apiv3/jsapi:ro
geoportal:
user: root
volumes:
# For Python project development.
- ./geoportal/geoportailv3_geoportal:/app/geoportailv3_geoportal
# For Python c2cgeportal development.
# - ./../c2cgeoportal/commons/c2cgeoportal_commons:/opt/c2cgeoportal/commons/c2cgeoportal_commons
# - ./../c2cgeoportal/geoportal/c2cgeoportal_geoportal:/opt/c2cgeoportal/geoportal/c2cgeoportal_geoportal
# - ./../c2cgeoportal/admin/c2cgeoportal_admin:/opt/c2cgeoportal/admin/c2cgeoportal_admin
environment:
- GUNICORN_CMD_ARGS=--reload
- C2CWSGIUTILS_CONFIG=/app/development.ini
# - PRINT_URL=http://print:8080/print/
ports:
- 5678:5678 # For remote debugging using Visual Studio Code
# Also uncomment the PRINT_URL in geoportal
# print:
# extends:
# file: docker-compose-lib.yaml
# service: print
# volumes_from:
# - config:ro
# qgisserver:
# # volumes:
# # - './../c2cgeoportal/docker/qgisserver/geomapfish_qgisserver/:/var/www/plugins/geomapfish_qgisserver/'
# # - './../c2cgeoportal/commons/c2cgeoportal_commons:/opt/c2cgeoportal/commons/c2cgeoportal_commons/'
# environment:
# - QGIS_SERVER_LOG_LEVEL=0
# For Javascript project development.
# The debug application will be availavble at ``https://<host>/<entry_point>/dev/<interface>.html``.
webpack_dev_server:
# Uncomment these lines when you want to debug respectively the project js, ngeo js and/or the gmf contrib js.
# Adapt the path for ngeo / gmf contrib to point where you have checkouted the code.
# volumes:
# - ./geoportal/geoportailv3_geoportal/static-ngeo:/app/geoportailv3_geoportal/static-ngeo
# - ./../ngeo/src:/usr/lib/node_modules/ngeo/src
# - ./../ngeo/contribs:/usr/lib/node_modules/ngeo/contribs
volumes_from:
- config:rw
extends:
file: docker-compose-lib.yaml
service: webpack_dev_server
command:
[ "webpack-dev-server", "--mode=development", "--debug", "--watch", "--progress", "--no-inline" ]
environment:
- CASIPO_STAGING_URL
- PAG_OWNCLOUD_PASSWORD
- LDAP_PASSWD
- FAKE_REVERSE_GEOCODING=1
- PAG_OWNCLOUD_INTERNAL_URL
- FAKE_PRINT_URLS=http://print:8080/print/geoportailv3,http://print:8080/print/geoportailv3
- PAG_FME_TOKEN
- SHORTENER_BASE_URL
- ROUTING_MAPQUEST_API_KEY
- LOG_LEVEL=INFO
- AUTHTKT_SECURE=false
- CASIPO_OWNCLOUD_EXTERNAL_URL
- LDAP_BIND
- DB_MYMAPS
- FAKE_CMSSEARCH=1
- DHM_DEM_FILE=/var/luxdata/dem500.tif
- ANF_EMAIL
- GUNICORN_ACCESS_LOG_LEVEL=INFO
- PGSCHEMA
- PAG_PROD_URL
- IGNORE_I18N_ERRORS=TRUE
- SQL_LOG_LEVEL=INFO
- AGE_CRUES_EMAIL
- CASIPO_SMTP_SERVER
- LDAP_URL
- LDAP_FILTER_TMPL
- PDS_BCC_ADDRESS
- PAG_OWNCLOUD_USER
- FAKE_FULLTEXT_SEARCH=1
- AGE_CRUES_LAYERS
- CASIPO_PROD_URL
- CASIPO_OWNCLOUD_INTERNAL_URL
- C2CGEOPORTAL_LOG_LEVEL=INFO
- PAG_OWNCLOUD_EXTERNAL_URL
- ANF_MAP_ID
- ELASTIC_SERVERS
- DB_ECADASTRE
- DB_POI
- CASIPO_OWNCLOUD_USER
- DHM_DEM_TYPE=gdal
- PAG_STAGING_URL
- PDS_PROD_URL
- CASIPO_BCC_ADDRESS
- AGE_CRUES_SHOW_LINK
- SHORTENER_ALLOWED_HOST
- DEBUG_TOOLBAR=1
- GUNICORN_LOG_LEVEL=INFO
- AGE_CRUES_ROLES
- PDS_SMTP_SERVER
- CASIPO_FME_TOKEN
- FAKE_LAYERSEARCH=0
- OTHER_LOG_LEVEL=WARN
- CASIPO_OWNCLOUD_PASSWORD
- PAG_SMTP_SERVER
- DEFAULT_MYMAPS_ROLE
- GUNICORN_PARAMS=--bind=:8080 --threads=10 --timeout=60 --reload --forwarded-allow-ips=*
- DB_PGROUTE
- MAILER_DIRECTORY
- AGE_CRUES_MAP_ID
- PDS_STAGING_URL
- C2CWSGIUTILS_CONFIG=/app/development.ini
- PAG_BCC_ADDRESS
- ELASTIC_INDEX
- LDAP_BASE_DN
- PAG_FILE_SERVER
- ROUTING_GRAPHHOPPER_API_KEY
- GUNICORN_CMD_ARGS=--reload
- 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
- VISIBLE_WEB_HOST
- VISIBLE_WEB_PROTOCOL
- AUTHTKT_TIMEOUT
- AUTHTKT_REISSUE_TIME
- AUTHTKT_MAXAGE
- AUTHTKT_SECRET
- AUTHTKT_COOKIENAME
- AUTHTKT_HTTP_ONLY
- 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
- C2CGEOPORTAL_LOG_LEVEL
- SQL_LOG_LEVEL
- DOGPILECACHE_LOG_LEVEL
- LOG_TYPE
- C2CWSGIUTILS_LOG_LEVEL=WARN