agreg-server/app/docker-compose.yml
Alexis Fourmaux bdfe1a5f00 fix: docker compose network config so that containers may communicate
MQTT from gateway stack and app must be on the same network
It was implied when they were from the same stack, but when splitting
docker creates two default separated networks
This commit creates a network for MQTT and makes the app join it

Works only if the two stacks are on the same host (which is the case
during development)
2026-05-08 12:38:40 +02:00

10 lines
No EOL
162 B
YAML

services:
consumer:
build: ./consumer
restart: unless-stopped
networks:
- lora-gateway_mqtt
networks:
lora-gateway_mqtt:
external: true