1+ apiVersion : v1
2+ kind : ConfigMap
3+ metadata :
4+ name : {{ $.Chart.Name }}-configmap
5+ data :
6+ chirpstack.toml : |
7+ [postgresql]
8+ dsn="postgres://chirpstack:chirpstack@postgresCsV4/chirpstack?sslmode=disable"
9+
10+ [redis]
11+ servers=[
12+ "redis://redis:6379",
13+ ]
14+
15+ [network]
16+ net_id="000000"
17+ adr_plugins=["/etc/chirpstack/adr-modules/sensade-adr-mod/sensade-adr.js"]
18+ enabled_regions=[
19+ "eu868",
20+ ]
21+
22+ [api]
23+ bind="0.0.0.0:8080"
24+ jwt_secret="verysecret"
25+
26+ [integration]
27+ enabled=["mqtt"]
28+
29+ [integration.mqtt]
30+ server="tcp://mosquitto:1883"
31+ json=true
32+
33+ region_eu868.toml : |
34+ # This file contains an example EU868 configuration.
35+ [[regions]]
36+
37+ # ID is an user-defined identifier for this region.
38+ id="eu868"
39+
40+ # Description is a short description for this region.
41+ description="EU868"
42+
43+ # Common-name refers to the common-name of this region as defined by
44+ # the LoRa Alliance.
45+ common_name="EU868"
46+
47+
48+ # Gateway configuration.
49+ [regions.gateway]
50+
51+ # Force gateways as private.
52+ #
53+ # If enabled, gateways can only be used by devices under the same tenant.
54+ force_gws_private=false
55+
56+
57+ # Gateway backend configuration.
58+ [regions.gateway.backend]
59+
60+ # The enabled backend type.
61+ enabled="mqtt"
62+
63+ # MQTT configuration.
64+ [regions.gateway.backend.mqtt]
65+
66+ topic_prefix=""
67+
68+ # MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
69+ server="tcp://mosquitto:1883"
70+
71+ # Gateway channel configuration.
72+ #
73+ # Note: this configuration is only used in case the gateway is using the
74+ # ChirpStack Concentratord daemon. In any other case, this configuration
75+ # is ignored.
76+ [[regions.gateway.channels]]
77+ frequency=868100000
78+ bandwidth=125000
79+ modulation="LORA"
80+ spreading_factors=[7, 8, 9, 10, 11, 12]
81+
82+ [[regions.gateway.channels]]
83+ frequency=868300000
84+ bandwidth=125000
85+ modulation="LORA"
86+ spreading_factors=[7, 8, 9, 10, 11, 12]
87+
88+ [[regions.gateway.channels]]
89+ frequency=868500000
90+ bandwidth=125000
91+ modulation="LORA"
92+ spreading_factors=[7, 8, 9, 10, 11, 12]
93+
94+ [[regions.gateway.channels]]
95+ frequency=867100000
96+ bandwidth=125000
97+ modulation="LORA"
98+ spreading_factors=[7, 8, 9, 10, 11, 12]
99+
100+ [[regions.gateway.channels]]
101+ frequency=867300000
102+ bandwidth=125000
103+ modulation="LORA"
104+ spreading_factors=[7, 8, 9, 10, 11, 12]
105+
106+ [[regions.gateway.channels]]
107+ frequency=867500000
108+ bandwidth=125000
109+ modulation="LORA"
110+ spreading_factors=[7, 8, 9, 10, 11, 12]
111+
112+ [[regions.gateway.channels]]
113+ frequency=867700000
114+ bandwidth=125000
115+ modulation="LORA"
116+ spreading_factors=[7, 8, 9, 10, 11, 12]
117+
118+ [[regions.gateway.channels]]
119+ frequency=867900000
120+ bandwidth=125000
121+ modulation="LORA"
122+ spreading_factors=[7, 8, 9, 10, 11, 12]
123+
124+ [[regions.gateway.channels]]
125+ frequency=868300000
126+ bandwidth=250000
127+ modulation="LORA"
128+ spreading_factors=[7]
129+
130+ [[regions.gateway.channels]]
131+ frequency=868800000
132+ bandwidth=125000
133+ modulation="FSK"
134+ datarate=50000
135+
136+
137+ # Region specific network configuration.
138+ [regions.network]
139+
140+ # Below is the common set of extra channels. Please make sure that these
141+ # channels are also supported by the gateways.
142+ [[regions.network.extra_channels]]
143+ frequency=867100000
144+ min_dr=0
145+ max_dr=7
146+
147+ [[regions.network.extra_channels]]
148+ frequency=867300000
149+ min_dr=0
150+ max_dr=7
151+
152+ [[regions.network.extra_channels]]
153+ frequency=867500000
154+ min_dr=0
155+ max_dr=7
156+
157+ [[regions.network.extra_channels]]
158+ frequency=867700000
159+ min_dr=0
160+ max_dr=7
161+
162+ [[regions.network.extra_channels]]
163+ frequency=867900000
164+ min_dr=0
165+ max_dr=7
166+
167+
0 commit comments