This repository contains a setup ChirpStack open-source LoRaWAN Network Server stack using Docker Compose.
buildponger.sh
: a script to build the local ponger application docker imagedocker-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 scriptspython/
: directory containing python used for the ponging application
You should run the buildponger script first to create the application / http integration docker Note that this might take quite a while as it needs to build some python packages
./buildponger
The ChirpStack stack components components are pre-configured to work with the provided
docker-compose.yml
file
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
Note: during the startup of services, it is normal to see the following errors:
- ping database error, will retry in 2s: dial tcp 172.20.0.4:5432: connect: connection refused
- ping database error, will retry in 2s: pq: the database system is starting up
After all the components have been initialized and started, you should be able to open http://localhost:8080/ in your browser.
When adding the Network Server in the ChirpStack Application Server web-interface
(see Network Servers),
you must enter chirpstack-network-server:8000
as the Network Server hostname:IP
.