2022-04-06 20:18:32 +00:00
|
|
|
services:
|
|
|
|
chirpstack:
|
2022-04-18 20:19:24 +00:00
|
|
|
image: chirpstack/chirpstack-dev-cache:latest
|
2022-04-06 20:18:32 +00:00
|
|
|
volumes:
|
|
|
|
- ./:/chirpstack
|
|
|
|
depends_on:
|
|
|
|
- postgres
|
|
|
|
- redis
|
|
|
|
- mosquitto
|
|
|
|
environment:
|
|
|
|
- DATABASE_URL=postgres://chirpstack_test:chirpstack_test@postgres/chirpstack_test?sslmode=disable
|
|
|
|
ports:
|
|
|
|
- "8080:8080"
|
|
|
|
|
|
|
|
chirpstack-ui:
|
|
|
|
build:
|
|
|
|
context: ./ui
|
|
|
|
dockerfile: Dockerfile-devel
|
|
|
|
volumes:
|
|
|
|
- ./api/grpc-web:/chirpstack/api/grpc-web
|
|
|
|
- ./ui:/chirpstack/ui
|
|
|
|
ports:
|
|
|
|
- "3000:3000"
|
|
|
|
|
|
|
|
postgres:
|
|
|
|
image: postgres:11-alpine
|
|
|
|
volumes:
|
|
|
|
- ./.docker-compose/postgresql/initdb:/docker-entrypoint-initdb.d
|
|
|
|
environment:
|
|
|
|
- POSTGRES_HOST_AUTH_METHOD=trust
|
|
|
|
|
|
|
|
redis:
|
|
|
|
image: redis:6-alpine
|
|
|
|
|
|
|
|
mosquitto:
|
|
|
|
image: eclipse-mosquitto:1.6
|
|
|
|
ports:
|
|
|
|
- "1883:1883"
|