
Based on MQTT authentication & authorization ChirpStack guide (https://www.chirpstack.io/guides/mqtt-authentication/) and using iegomez's image (here is their GitHub: https://github.com/iegomez/mosquitto-go-auth)
51 lines
1.3 KiB
YAML
51 lines
1.3 KiB
YAML
version: "3"
|
|
|
|
services:
|
|
chirpstack-network-server:
|
|
image: chirpstack/chirpstack-network-server:3
|
|
volumes:
|
|
- ./configuration/chirpstack-network-server:/etc/chirpstack-network-server
|
|
|
|
chirpstack-application-server:
|
|
image: chirpstack/chirpstack-application-server:3
|
|
ports:
|
|
- 8080:8080
|
|
volumes:
|
|
- ./configuration/chirpstack-application-server:/etc/chirpstack-application-server
|
|
|
|
chirpstack-gateway-bridge:
|
|
image: chirpstack/chirpstack-gateway-bridge:3
|
|
ports:
|
|
- 1700:1700/udp
|
|
volumes:
|
|
- ./configuration/chirpstack-gateway-bridge:/etc/chirpstack-gateway-bridge
|
|
|
|
chirpstack-geolocation-server:
|
|
image: chirpstack/chirpstack-geolocation-server:3
|
|
volumes:
|
|
- ./configuration/chirpstack-geolocation-server:/etc/chirpstack-geolocation-server
|
|
|
|
postgresql:
|
|
image: postgres:9.6-alpine
|
|
environment:
|
|
- POSTGRES_PASSWORD=root
|
|
volumes:
|
|
- ./configuration/postgresql/initdb:/docker-entrypoint-initdb.d
|
|
- postgresqldata:/var/lib/postgresql/data
|
|
|
|
redis:
|
|
image: redis:5-alpine
|
|
volumes:
|
|
- redisdata:/data
|
|
|
|
mosquitto:
|
|
image: iegomez/mosquitto-go-auth:0.5.0
|
|
ports:
|
|
- 1883:1883
|
|
volumes:
|
|
- ./configuration/mosquitto:/etc/mosquitto
|
|
|
|
volumes:
|
|
postgresqldata:
|
|
redisdata:
|