-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.override.sample.yaml
66 lines (61 loc) · 2.47 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
---
# 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.
version: '2.3'
services:
geoportal:
user: root
# volumes:
# For Python project development.
# - ./geoportal/${PACKAGE}_geoportal:/app/${PACKAGE}_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
command:
- /usr/local/bin/pserve
- --reload
- c2c:///app/development.ini
environment:
- DEVELOPMENT=1
- C2C_SQL_PROFILER_ENABLED=1
- C2C_DEBUG_VIEW_ENABLED=1
# - PRINT_URL=http://print:8080/print/
- PYTHONWARNINGS=default::DeprecationWarning
- SQLALCHEMY_WARN_20=true
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
# environment:
# - LOG_LEVEL=DEBUG
# 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
# - QGIS_CATCH_SEGV=1 # The result stack traces will be available in /var/log/qgis.log
tools:
volumes_from:
- config:rw
#
# For Javascript project development.
# The debug application will be available 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/${PACKAGE}_geoportal/static-ngeo:/app/${PACKAGE}_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