LoraWAN论坛
标题:
基于 docker 部署 chirpstack v4 (海外常用)操作
[打印本页]
作者:
BeyondDream
时间:
2024-10-17 10:31
标题:
基于 docker 部署 chirpstack v4 (海外常用)操作
本帖最后由 BeyondDream 于 2024-11-23 08:39 编辑
- 下载 docker 仓库,补充全球 LoRaWAN 频段,选择国家地区,启动
- chirpstack- Download the docker repository to supplement the global LoRaWAN band, select the country region, and launch chirpstack
git clone https://github.com/chirpstack/chirpstack-docker.git
cd ./chirpstack-docker/
wget https://rimelink.oss-cn-shenzhen.aliyuncs.com/add_extra_channels.sh
sh ./add_extra_channels.sh
region=as923
sed -i "s/\(.*TOPIC_TEMPLATE=\)\([^/]\+\)\(.*\)/\1$region\3/" ./docker-compose.yml
sudo docker-compose up -d
复制代码
- 切换 lorawan 频段并重启 chirpstack
- switch region of lorawan and restart the chirpstack
region=kr920
sed -i "s/\(.*TOPIC_TEMPLATE=\)\([^/]\+\)\(.*\)/\1$region\3/" ./docker-compose.yml
sudo docker-compose down
sudo docker-compose up -d
复制代码
- 停止 chirpstack
- down chirpstack
sudo docker-compose down
- 查看 chirpstack 日志
- logs for chirpstack
sudo docker-compose logs -f
- 查看 down 日志
- logs for downlink of device
sudo docker-compose logs -f | grep downlink-frame
欢迎光临 LoraWAN论坛 (http://lora.timeddd.com/)
Powered by Discuz! X3.3