Setup ChirpStack using Docker Compose
Go to file
Brian Conway 017422478c
Add alternate, environment variable-based docker-compose file
- Helpful for people getting started on Kubernetes or other env-based configurations.
- Update README.md and some errant spacing in the original `docker-compose.yml`.
2019-04-10 10:00:05 -05:00
configuration Remove LoRa App Server self-signed TLS certificate. 2018-10-30 12:09:21 +01:00
.gitattributes Add .gitattributes to use LF line-endings for *.sh files (#11) 2019-02-19 18:15:22 +01:00
.gitignore Add .gitattributes to use LF line-endings for *.sh files (#11) 2019-02-19 18:15:22 +01:00
docker-compose-env.yml Add alternate, environment variable-based docker-compose file 2019-04-10 10:00:05 -05:00
docker-compose.yml Add alternate, environment variable-based docker-compose file 2019-04-10 10:00:05 -05:00
README.md Add alternate, environment variable-based docker-compose file 2019-04-10 10:00:05 -05:00

LoRa Server Docker setup

This repository contains a skeleton to setup the LoRa Server project 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.

Directory layout

Configuration

The LoRa Server 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/loraserver/loraserver.toml configuration file to configure a different band.

Data persistence

PostgreSQL and Redis data is persisted in Docker volumes, see the docker-compose.yml volumes definition.

Requirements

Before using this docker-compose.yml file, make sure you have Docker installed.

Usage

To start all the LoRa Server components, 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.

Add network-server

When adding the network-server in the LoRa App Server web-interface (see network-servers), you must enter loraserver:8000 as the network-server hostname:IP.