chirpstack-docker/docker-compose.yml
Orne Brocaar b9178714cc Store PostgreSQL and Redis data in Docker volumes.
This should solve permission issues that can occur in some cases (e.g.
on Windows PostgreSQL can complain about an ownership mismatch of the
/var/lib/postgresql/data directory).
2019-02-11 15:13:52 +01:00

48 lines
967 B
YAML

version: "3"
services:
loraserver:
image: loraserver/loraserver:2
volumes:
- ./configuration/loraserver:/etc/loraserver
appserver:
image: loraserver/lora-app-server:2
ports:
- 8080:8080
volumes:
- ./configuration/lora-app-server:/etc/lora-app-server
gatewaybridge:
image: loraserver/lora-gateway-bridge:2
ports:
- 1700:1700/udp
volumes:
- ./configuration/lora-gateway-bridge:/etc/lora-gateway-bridge
geoserver:
image: loraserver/lora-geo-server:2
volumes:
- ./configuration/lora-geo-server:/etc/lora-geo-server
postgresql:
image: postgres:9.6-alpine
volumes:
- ./configuration/postgresql/initdb:/docker-entrypoint-initdb.d
- postgresqldata:/var/lib/postgresql/data
redis:
image: redis:4-alpine
volumes:
- redisdata:/data
mosquitto:
image: eclipse-mosquitto
ports:
- 1883:1883
volumes:
postgresqldata:
redisdata: