I’m new to this topic.
I’ve tried hosting Chirpstack in Azure using docker-compose, but I keep getting the following error in the log.
I have used the file from here: https://github.com/chirpstack/chirpstack-docker/blob/master/docker-compose.yml
2022-09-01T10:15:51.234Z ERROR - Exception in multi-container config parsing: YamlException: (Line: 9, Col: 9, Idx: 171) - (Line: 9, Col: 51, Idx: 213): Bind mount must start with ${WEBAPP_STORAGE_HOME}.
2022-09-01T10:15:51.244Z ERROR - Start multi-container app failed
2022-09-01T10:15:51.270Z INFO - Stopping site chirptest1 because it failed during startup.
Does anyone have a yml file that works on Azure?
Like I said, I’m new to this but I’d like to do some testing.
thanks in advance
Sascha
Hello
Does nobody have an idea?
That has to be possible, doesn’t it?
zeara
3
sorry, i don’t use azure, but it seems like docker compose - azure webapp for container error trying to mount blob storage - Stack Overflow
i guess you should change the docker-compose.yml to fit the azure docker
Thanks for your reply. I will look at the topic and try your solution and will replymy result. Thanks
Hello
Now i have created a storage mount in my WebApp.
But now i get the following error.
What is my mistake?
Now i using the following config:
version: "3"
services:
chirpstack:
image: chirpstack/chirpstack:4.0.0-rc.3
command: -c /etc/chirpstack
restart: unless-stopped
volumes:
- chirpstack:/etc/chirpstack
- chirpstack:/etc/chirpstack/opt/lorawan-devices
depends_on:
- postgres
- mosquitto
- redis
environment:
- MQTT_BROKER_HOST=mosquitto
- REDIS_HOST=redis
- POSTGRESQL_HOST=postgres
ports:
- 80:80
chirpstack-gateway-bridge-eu868:
image: chirpstack/chirpstack-gateway-bridge:4.0.0-rc.1
ports:
- 1700:1700/udp
volumes:
- chirpstack:/etc/chirpstack/chirpstack-gateway-bridge
depends_on:
- mosquitto
chirpstack-rest-api:
image: chirpstack/chirpstack-rest-api:4.0.0-rc.1
command: --server chirpstack:8080 --bind 0.0.0.0:8090 --insecure
ports:
- 8090:8090
depends_on:
- chirpstack
postgres:
image: postgres:14-alpine
volumes:
- chirpstack:/etc/chirpstack/docker-entrypoint-initdb.d
- chirpstack:/etc/chirpstack/postgresql/data
environment:
- POSTGRES_PASSWORD=root
redis:
image: redis:7-alpine
volumes:
- chirpstack:/etc/chirpstack/data
mosquitto:
image: eclipse-mosquitto:2
ports:
- 1883:1883
volumes:
- chirpstack:/etc/chirpstack/mosquitto/config/mosquitto.conf
volumes:
chirpstack:
Many thanks
Hello,
any further updates? Do you have a working yaml file for chirpstack on azure container instances?
I´m always getting “/etc/chirpstack no such file or directory” despite mounted volumes.
Many thanks!
system
Closed
7
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.