Update compose networking

This commit is contained in:
2026-03-12 21:48:27 +01:00
parent 93ab5b6cea
commit 3de376a2e1
+6 -2
View File
@@ -4,15 +4,19 @@ services:
context: .
container_name: mqqt-scrubber
restart: unless-stopped
ports:
- "8080:8080"
volumes:
- ./config.json:/app/config.json:ro
environment:
MQTT_SCRUBBER_APP_HEALTH_ADDRESS: ":8080"
networks:
- iot-network
healthcheck:
test: ["CMD", "wget", "-q", "-O-", "http://127.0.0.1:8080/healthz"]
interval: 30s
timeout: 5s
retries: 3
start_period: 15s
networks:
iot-network:
external: true