The ChirpStack components are configured by configuration files, which are by default loaded from (in this order):
NAME.toml(current working directory)
NAME must be replaced by the executable name (e.g.
To load a configuration file from an alternative location, use the
To print a (new) configuration file, use the
configfile sub-command. This can not only be used to generate a new configuration file containing all the default, but can also be used to update an existing configuration file to include the latest defaults (maintaining the already set variables) Example:
# generate new configuration file chirpstack-network-server configfile > chirpstack-network-server.toml # migrate configuration file chirpstack-network-server configfile -c chirpstack-network-server-old.toml > chirpstack-network-server.toml