Update v4 test version. Add command to import TTN device repo.
This commit is contained in:
parent
7964e1def4
commit
f35940f6e4
2
.gitignore
vendored
2
.gitignore
vendored
@ -4,4 +4,4 @@
|
||||
|
||||
# data folder
|
||||
/data
|
||||
|
||||
/lorawan-devices
|
||||
|
4
Makefile
Normal file
4
Makefile
Normal file
@ -0,0 +1,4 @@
|
||||
import-lorawan-devices:
|
||||
rm -rf lorawan-devices
|
||||
git clone https://github.com/TheThingsNetwork/lorawan-devices
|
||||
docker-compose run --rm chirpstack -c /etc/chirpstack import-ttn-lorawan-devices -d /opt/lorawan-devices
|
13
README.md
13
README.md
@ -36,6 +36,19 @@ PostgreSQL and Redis data is persisted in Docker volumes, see the `docker-compos
|
||||
Before using this `docker-compose.yml` file, make sure you have [Docker](https://www.docker.com/community-edition)
|
||||
installed.
|
||||
|
||||
## Importing TTN device repository
|
||||
|
||||
To import the TTN [lorawan-devices](https://github.com/TheThingsNetwork/lorawan-devices)
|
||||
repository (optional step), run the following command:
|
||||
|
||||
```bash
|
||||
make import-lorawan-devices
|
||||
```
|
||||
|
||||
This will clone the `lorawan-devices` repository and execute the `import-ttn-lorawan-devices`
|
||||
command of ChirpStack. Please note that for this step, you need to have the `git` and `make`
|
||||
commands installed.
|
||||
|
||||
## Usage
|
||||
|
||||
To start the ChirpStack simply run:
|
||||
|
@ -2,11 +2,12 @@ version: "3"
|
||||
|
||||
services:
|
||||
chirpstack:
|
||||
image: chirpstack/chirpstack:4.0.0-test.5
|
||||
image: chirpstack/chirpstack:4.0.0-test.7
|
||||
command: -c /etc/chirpstack
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./configuration/chirpstack:/etc/chirpstack
|
||||
- ./lorawan-devices:/opt/lorawan-devices
|
||||
depends_on:
|
||||
- postgres
|
||||
- mosquitto
|
||||
|
Loading…
Reference in New Issue
Block a user