chirpstack-docker/Makefile
2022-12-01 10:26:15 +00:00

7 lines
318 B
Makefile

import-lorawan-devices:
docker-compose run --rm --entrypoint bash --user root chirpstack -c '\
apt-get update && \
apt-get install -y make git && \
git clone https://github.com/brocaar/lorawan-devices /tmp/lorawan-devices && \
chirpstack -c /etc/chirpstack import-ttn-lorawan-devices -d /tmp/lorawan-devices'