forked from sitn/crdppf_core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CONST_vars.yaml
112 lines (88 loc) · 3.08 KB
/
CONST_vars.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
vars:
# Project instance_id
instanceid: '{INSTANCE_ID}'
development: DEVELOPMENT
# Host of the application
host: overwrite_me
# DATABASE
# database user
dbuser: overwrite_me
# database password
dbpassword: overwrite_me
# database host
dbhost: overwrite_me
# database port
dbport: overwrite_me
# database name
db: overwrite_me
# Application configuration
yaml_dbconfig_file: config_db.yaml
# default language (currently Fr or De)
default_language: Fr
disclaimer: overwrite_me
# APACHE
apache24_location: ""
# Set this variable to WSGIApplicationGroup %{GLOBAL} if the application fails to load through mod_wsgi / Apache
apache24_modwsgi: ""
# MAPSERVER
mapserv_allow: overwrite_me
mapserverexec: overwrite_me
mapserv_access_control: |
Order Deny,Allow
Deny from all
# CRDPPF webapp definitions
crdppf_wms: "http://localhost/{instanceid}/wmscrdppf"
# FEDERAL WEBSERVICES
ch_wms: http://wms.geo.admin.ch/
# Federal feature service base url
chfs_baseurl: https://api3.geo.admin.ch/rest/services/api/MapServer/identify
# FULLTEXTSEARCH - Define a fulltextsearchURL
fulltextsearch_url: overwrite_me
# BACKGROUND LAYERS - Define a mapproxyurl and other OpenLayers parameters for map.js and layertree.js
mapproxyurl: overwrite_me
tilesImageFormat: overwrite_me
mapExtent: overwrite_me
mapMaxExtent: overwrite_me
mapCenter: overwrite_me
mapSRS: overwrite_me
mapResolutions: overwrite_me
mapMatrixSet: overwrite_me
mapOverviewExtent: overwrite_me
mapOverviewSizeW: overwrite_me
mapOverviewSizeH: overwrite_me
keymap: overwrite_me
# MAPSERVER map extent
mapExtentMinX: overwrite_me
mapExtentMinY: overwrite_me
mapExtentMaxX: overwrite_me
mapExtentMaxY: overwrite_me
# Logon -> Should the system write to the log (pserve console or Apache error.log file)
logon: overwrite_me
# Waitress port
waitress_port: overwrite_me
# Render engine to use for the pdf extract: crdppf_mfp or pyramid_oereb_mfp
pdf_renderer: overwrite_me
# Print level logger (DEBUG if development else ERROR)
print_level_logger: ERROR
tomcat_webapp_folder: OVERWRITEME
directory: __import__('os').getcwd()
python_path: "{directory}/.build/venv/lib/site-packages"
sqlalchemy:
url: postgresql://{dbuser}:{dbpassword}@{dbhost}:{dbport}/{db}
database:
cfg: "{directory}/{yaml_dbconfig_file}"
pdf:
cfg: "{directory}/config_pdf.yaml"
# cookie session secret
authtkt_secret: __import__('uuid').uuid4().hex
authtkt_cookie_name: auth_tkt_{instanceid}
tile_date_file: "{directory}/tile_date.yaml"
specific_root_dir: "{directory}/crdppfportal"
jsbuild_cfg: "{directory}/crdppf_core/jsbuild/app.cfg"
jsbuild_root_dir: "{directory}"
interpreted:
python:
- authtkt_secret
- directory
environment:
- INSTANCE_ID