2026-05-07 00:13:17 +02:00
|
|
|
services:
|
|
|
|
|
chirpstack:
|
|
|
|
|
image: chirpstack/chirpstack:4
|
|
|
|
|
command: -c /etc/chirpstack
|
|
|
|
|
restart: unless-stopped
|
2026-05-08 12:38:40 +02:00
|
|
|
ports:
|
|
|
|
|
- "8080:8080"
|
|
|
|
|
networks:
|
|
|
|
|
- internal
|
2026-05-07 00:13:17 +02:00
|
|
|
volumes:
|
|
|
|
|
- ./configuration/chirpstack:/etc/chirpstack
|
|
|
|
|
depends_on:
|
|
|
|
|
- postgres
|
|
|
|
|
- mosquitto
|
|
|
|
|
- redis
|
|
|
|
|
environment:
|
|
|
|
|
- MQTT_BROKER_HOST=mosquitto
|
|
|
|
|
- REDIS_HOST=redis
|
|
|
|
|
- POSTGRESQL_HOST=postgres
|
|
|
|
|
|
|
|
|
|
chirpstack-gateway-bridge:
|
|
|
|
|
image: chirpstack/chirpstack-gateway-bridge:4
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
ports:
|
|
|
|
|
- "1700:1700/udp"
|
2026-05-08 12:38:40 +02:00
|
|
|
networks:
|
|
|
|
|
- internal
|
2026-05-07 00:13:17 +02:00
|
|
|
volumes:
|
|
|
|
|
- ./configuration/chirpstack-gateway-bridge:/etc/chirpstack-gateway-bridge
|
|
|
|
|
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"
|
2026-05-08 12:38:40 +02:00
|
|
|
networks:
|
|
|
|
|
- internal
|
2026-05-07 00:13:17 +02:00
|
|
|
volumes:
|
|
|
|
|
- ./configuration/chirpstack-gateway-bridge:/etc/chirpstack-gateway-bridge
|
|
|
|
|
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"
|
2026-05-08 12:38:40 +02:00
|
|
|
networks:
|
|
|
|
|
- internal
|
2026-05-07 00:13:17 +02:00
|
|
|
depends_on:
|
|
|
|
|
- chirpstack
|
|
|
|
|
|
|
|
|
|
postgres:
|
2026-05-08 12:17:03 +02:00
|
|
|
image: postgres:18-alpine
|
2026-05-07 00:13:17 +02:00
|
|
|
restart: unless-stopped
|
|
|
|
|
volumes:
|
|
|
|
|
- ./configuration/postgresql/initdb:/docker-entrypoint-initdb.d
|
2026-05-08 12:17:03 +02:00
|
|
|
- db:/var/lib/postgresql
|
2026-05-08 12:38:40 +02:00
|
|
|
networks:
|
|
|
|
|
- internal
|
2026-05-13 18:38:50 +02:00
|
|
|
env_file: ./configuration/postgresql/.env
|
|
|
|
|
|
2026-05-07 00:13:17 +02:00
|
|
|
|
|
|
|
|
redis:
|
|
|
|
|
image: redis:7-alpine
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
command: redis-server --save 300 1 --save 60 100 --appendonly no
|
|
|
|
|
volumes:
|
2026-05-08 12:17:03 +02:00
|
|
|
- redis:/data
|
2026-05-08 12:38:40 +02:00
|
|
|
networks:
|
|
|
|
|
- internal
|
2026-05-07 00:13:17 +02:00
|
|
|
|
|
|
|
|
mosquitto:
|
|
|
|
|
image: eclipse-mosquitto:2
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
ports:
|
|
|
|
|
- "1883:1883"
|
|
|
|
|
volumes:
|
|
|
|
|
- ./configuration/mosquitto/config/:/mosquitto/config/
|
2026-05-08 12:38:40 +02:00
|
|
|
networks:
|
|
|
|
|
- internal
|
|
|
|
|
- mqtt
|
2026-05-07 00:13:17 +02:00
|
|
|
|
|
|
|
|
volumes:
|
2026-05-08 12:17:03 +02:00
|
|
|
db:
|
|
|
|
|
redis:
|
2026-05-08 12:38:40 +02:00
|
|
|
|
|
|
|
|
networks:
|
|
|
|
|
internal:
|
|
|
|
|
mqtt:
|