forked from City-of-Helsinki/kerrokantasi-ui
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config_dev.toml.example
103 lines (85 loc) · 3.53 KB
/
config_dev.toml.example
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
# Address and port the server will listen to. The ones below are defaults
# useful for development. On a more formal occasion you will likely to want
# change these.
#listen_address="localhost"
#listen_port="8086"
# Base URL of the API, without version or trailing slash (/)
kerrokantasi_api_base="https://api.hel.fi/kerrokantasi-test"
# Image to use for the hero of the front page
hero_image_url="http://materialbank.myhelsinki.fi/detail/1192/download/7"
# Specifies the canonical URL for this service. Kerrokantasi-UI currently
# uses this for generating the requested callback address from SSO. This
# will need to match whatever you enter in the browser address bar to reach
# the UI and the SSO must also be configured to accept this.
# Default is again for development.
public_url="http://localhost:8086"
# ExpressJS uses this secret for purposes. We are not sure if kerrokantasi-ui
# actually uses it for something. It is still required
expressjs_session_secret="dev-secret-do-not-use-in-production"
# OpenId Connect configuration
openid_client_id="client-id-configured-to-your-opendid-provider"
openid_audience="https://auth-url.domain/path"
openid_authority="your-authority"
openid_apitoken_url="https://auth-url.domain/api-tokens/"
# Makes `Strongly authenticated` option visible as a commenting option for hearings
# Default: false
# enable_strong_auth=false
# City specific configuration
# For whitelabel styles use "whitelabel".
# For city assets installed to node_modules us the name of the package
# for instance "kerrokantasi-ui-turku".
# Default: "cities/helsinki"
city_config="cities/helsinki"
# Should display accessibility page link in the footer and accessibility page content
# Default: false
# show_accessibility_info=true
# Should display social media share buttons on a hearing header
# Default: true
# show_social_media_sharing=false
# Enable high-contrast toggle button in navbar next to language switcher.
# To use just add .scss rules to city specific files ie
# .high-contrast {
# nav {
# background-color: white;
# ...
# }
# main {
# ....
# }
#}
# Default: false
# enable_highcontrast=true
# Are cookies in use? If enabled then cookie scripts are injected into the html.
# Everything related to cookies is disabled by default unless this value is changed.
# Default: false
# enable_cookies=true
# Cookiebot consent management platform configuration. Cookiebot is disabled by default.
# To use Cookiebot set both enable_cookies and enable_cookiebot to true.
# enable_cookiebot=true
# cookiebot_data_cbid="your-unique-cookiebot-domain-group-id"
# Address for hearing admin help link
# Default: "https://drive.google.com/open?id=1vtUNzbJNVcp7K9JPrE6XP8yTmkBLW3N3FGEsR1NbbIw"
# admin_help_url=
# Should responses be served with compression?
# Default: false
# enable_response_compression=true
# String value that is considered as an empty comment
# Default: '-'
# empty_comment_string=
# Configuration of additional WMS layers for all the maps.
# WMS base URL. Leave empty/default if you don't want to use WMS layers.
# Default: ""
# wms_base_url=
# WMS attribution href string for example:
# "© <a href='http://osm.org/copyright' rel='noreferrer' target='_blank'>OpenStreetMap</a> contributors"
# Default: ""
# wms_attribution=
# Object information about each layer to be used in wms layer array.
# layer_name acts like an id of an wms layer. Localized names are
# for users see and use to select desired layer.
# Example template for one layer object in wms_layer array:
# [[wms_layers]]
# layer_name=""
# name_fi=""
# name_sv=""
# name_en=""