This repository contains a skeleton to setup the ChirpStack open-source LoRaWAN Network Server (v4) using Docker Compose.
Note: Please use this docker-compose.yml
file as a starting point for testing
but keep in mind that for production usage it might need modifications.
docker-compose.yml
: the docker-compose file containing the servicesconfiguration/chirpstack
: directory containing the ChirpStack configuration filesconfiguration/chirpstack-gateway-bridge
: directory containing the ChirpStack Gateway Bridge configurationconfiguration/mosquitto
: directory containing the Mosquitto (MQTT broker) configurationconfiguration/postgresql/initdb/
: directory containing PostgreSQL initialization scripts
This setup is pre-configured for AU915 region.
This setup comes with a ChirpStack Gateway Bridge instance which is configured to the au915 topic prefix. You can connect your ITG 200 UDP packet-forwarder based gateway to port 1700.
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 import the khomp-lorawan-devices repository (optional step), run the following command:
make import
This will clone the khomp-lorawan-devices
repository. Please note that for this step, you need to have the git
and make
commands installed.
To start the ChirpStack simply run:
$ make docker
or
$ docker-compose up
After all the components have been initialized and started, you should be able to open http://localhost:8080/ in your browser.
The example includes the ChirpStack REST API. You should be able to access the UI by opening http://localhost:8090 in your browser.
Note: It is recommended to use the gRPC interface over the REST interface.