
Volumes need to be properly re-labelled on rootless Podman setups on Fedora. The SELinux re-labeling bind mount option is ignored on platforms without SELinux, so it shouldn't break existing setups.
82 lines
2.2 KiB
YAML
82 lines
2.2 KiB
YAML
version: "3"
|
|
|
|
services:
|
|
chirpstack:
|
|
image: chirpstack/chirpstack:4
|
|
command: -c /etc/chirpstack
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./configuration/chirpstack:/etc/chirpstack:z
|
|
- ./lorawan-devices:/opt/lorawan-devices:z
|
|
depends_on:
|
|
- postgres
|
|
- mosquitto
|
|
- redis
|
|
environment:
|
|
- MQTT_BROKER_HOST=mosquitto
|
|
- REDIS_HOST=redis
|
|
- POSTGRESQL_HOST=postgres
|
|
ports:
|
|
- 8080:8080
|
|
|
|
chirpstack-gateway-bridge:
|
|
image: chirpstack/chirpstack-gateway-bridge:4
|
|
restart: unless-stopped
|
|
ports:
|
|
- 1700:1700/udp
|
|
volumes:
|
|
- ./configuration/chirpstack-gateway-bridge:/etc/chirpstack-gateway-bridge:z
|
|
environment:
|
|
- INTEGRATION__MQTT__EVENT_TOPIC_TEMPLATE=eu868/gateway/{{ .GatewayID }}/event/{{ .EventType }}
|
|
- INTEGRATION__MQTT__STATE_TOPIC_TEMPLATE=eu868/gateway/{{ .GatewayID }}/state/{{ .StateType }}
|
|
- INTEGRATION__MQTT__COMMAND_TOPIC_TEMPLATE=eu868/gateway/{{ .GatewayID }}/command/#
|
|
depends_on:
|
|
- mosquitto
|
|
|
|
chirpstack-gateway-bridge-basicstation:
|
|
image: chirpstack/chirpstack-gateway-bridge:4
|
|
restart: unless-stopped
|
|
command: -c /etc/chirpstack-gateway-bridge/chirpstack-gateway-bridge-basicstation-eu868.toml
|
|
ports:
|
|
- 3001:3001
|
|
volumes:
|
|
- ./configuration/chirpstack-gateway-bridge:/etc/chirpstack-gateway-bridge:z
|
|
depends_on:
|
|
- mosquitto
|
|
|
|
chirpstack-rest-api:
|
|
image: chirpstack/chirpstack-rest-api:4
|
|
restart: unless-stopped
|
|
command: --server chirpstack:8080 --bind 0.0.0.0:8090 --insecure
|
|
ports:
|
|
- 8090:8090
|
|
depends_on:
|
|
- chirpstack
|
|
|
|
postgres:
|
|
image: postgres:14-alpine
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./configuration/postgresql/initdb:/docker-entrypoint-initdb.d:Z
|
|
- postgresqldata:/var/lib/postgresql/data:Z
|
|
environment:
|
|
- POSTGRES_PASSWORD=root
|
|
|
|
redis:
|
|
image: redis:7-alpine
|
|
restart: unless-stopped
|
|
volumes:
|
|
- redisdata:/data:z
|
|
|
|
mosquitto:
|
|
image: eclipse-mosquitto:2
|
|
restart: unless-stopped
|
|
ports:
|
|
- 1883:1883
|
|
volumes:
|
|
- ./configuration/mosquitto/config/:/mosquitto/config/:Z
|
|
|
|
volumes:
|
|
postgresqldata:
|
|
redisdata:
|