This repository contains a complete skeleton to setup the ChirpStack open-source LoRaWAN Network Server stack using Docker Compose.
It's add an influxdb data storage and a grafana service. All the LoRaWAN Network Server, influxdb & grafana are configured to communicate over TLS. Simply add all pem cert and key of each component in their "configuration/service/certs" directory.
This project upgrade the postgresql database to version 14, redis to version 6.
A default chirpstack-network-server is connected to the chirpstack-application- 6D85 server sending data to influxdb and grafana.
docker-compose.yml
: the docker-compose file containing the servicesdocker-compose-env.yml
: alternate docker-compose file using environment variables, can be run with the docker-compose-f
flagconfiguration/chirpstack*
: directory containing the ChirpStack configuration files, see:configuration/postgresql/initdb/
: directory containing PostgreSQL initialization scripts
The ChirpStack stack components components are pre-configured to work with the provided
docker-compose.yml
file and defaults to the EU868 LoRaWAN band. Please refer
to the configuration/chirpstack-network-server/examples
directory for more configuration
examples.
PostgreSQL and Redis data is persisted in Docker volumes, see the docker-compose.yml
volumes
definition.
Before using this docker-compose.yml
file, make sure you have Docker
installed.
To start the ChirpStack open-source LoRaWAN Network Server stack, simply run:
$ docker-compose up
After all the components have been initialized and started, you should be able to open http://localhost:8080/ in your browser.