refacto: reorganize folder tree to split lora gateway stack from app

Those stack won't necessarily be on the same host, so they need to be
split
This commit is contained in:
Alexis Fourmaux 2026-05-08 12:17:03 +02:00
parent 31a1c14831
commit 851e8947bc
11 changed files with 9 additions and 11 deletions

4
app/docker-compose.yml Normal file
View file

@ -0,0 +1,4 @@
services:
consumer:
build: ./consumer
restart: unless-stopped

View file

@ -51,11 +51,11 @@ services:
- chirpstack
postgres:
image: postgres:14-alpine
image: postgres:18-alpine
restart: unless-stopped
volumes:
- ./configuration/postgresql/initdb:/docker-entrypoint-initdb.d
- postgresqldata:/var/lib/postgresql/data
- db:/var/lib/postgresql
environment:
- POSTGRES_USER=chirpstack
- POSTGRES_PASSWORD=chirpstack
@ -66,7 +66,7 @@ services:
restart: unless-stopped
command: redis-server --save 300 1 --save 60 100 --appendonly no
volumes:
- redisdata:/data
- redis:/data
mosquitto:
image: eclipse-mosquitto:2
@ -76,12 +76,6 @@ services:
volumes:
- ./configuration/mosquitto/config/:/mosquitto/config/
application:
build: ./app
restart: unless-stopped
depends_on:
- mosquitto
volumes:
postgresqldata:
redisdata:
db:
redis: