chirpstack-docker/docker-compose-env.yml
2019-11-27 11:54:05 -06:00

56 lines
1.7 KiB
YAML

version: "3"
services:
chirpstack-network-server:
image: chirpstack/chirpstack-network-server:3
environment:
- POSTGRESQL.DSN=postgres://chirpstack_ns:chirpstack_ns@postgresql/chirpstack_ns?sslmode=disable
- REDIS.URL=redis://redis:6379
- NETWORK_SERVER.BAND.NAME=EU_863_870
- NETWORK_SERVER.GATEWAY.BACKEND.MQTT.SERVER=tcp://mosquitto:1883
- JOIN_SERVER.DEFAULT.SERVER=http://chirpstack-application-server:8003
- GEOLOCATION_SERVER.SERVER=chirpstack-geolocation-server:8005
chirpstack-application-server:
image: chirpstack/chirpstack-application-server:3
ports:
- 8080:8080
environment:
- POSTGRESQL.DSN=postgres://chirpstack_as:chirpstack_as@postgresql/chirpstack_as?sslmode=disable
- REDIS.URL=redis://redis:6379
- APPLICATION_SERVER.INTEGRATION.MQTT.SERVER=tcp://mosquitto:1883
- APPLICATION_SERVER.API.PUBLIC_HOST=chirpstack-application-server:8001
- APPLICATION_SERVER.EXTERNAL_API.JWT_SECRET=verysecret
chirpstack-gateway-bridge:
image: chirpstack/chirpstack-gateway-bridge:3
ports:
- 1700:1700/udp
environment:
- INTEGRATION__MQTT__AUTH__GENERIC__SERVERS=tcp://mosquitto:1883
chirpstack-geolocation-server:
image: chirpstack/chirpstack-geolocation-server:3
environment:
- GEO_SERVER.BACKEND.NAME=collos
postgresql:
image: postgres:9.6-alpine
volumes:
- ./configuration/postgresql/initdb:/docker-entrypoint-initdb.d
- postgresqldata:/var/lib/postgresql/data
redis:
image: redis:5-alpine
volumes:
- redisdata:/data
mosquitto:
image: eclipse-mosquitto
ports:
- 1883:1883
volumes:
postgresqldata:
redisdata: