feat(lorawan): démarrage ChirpStack et The Things Stack

- ChirpStack opérationnel (port 8080/8090, gateway bridge UDP 1700)
- The Things Stack opérationnel (port 1885/1884, gateway UDP 1701)
- Fichages de configuration créés
- Docker-compose corrigés (réseaux smartcity-shared)
- Désactivation agentLink sur 35 assets du simulateur
- Correction _or_put: suppression If-Match header (403)
- realm smartcity identifié pour les assets du simulateur
This commit is contained in:
Eric FELIXINE
2026-05-12 17:34:53 -04:00
parent a05e13c30c
commit 5fde1a2c8d
9 changed files with 129 additions and 40 deletions

View File

@@ -20,8 +20,7 @@ services:
volumes:
- tts-postgres-data:/var/lib/postgresql/data
networks:
- tts-internal
- smartcity-shared
tts-redis:
image: redis:7
command: redis-server --appendonly yes
@@ -29,8 +28,7 @@ services:
volumes:
- tts-redis-data:/data
networks:
- tts-internal
- smartcity-shared
tts-stack:
image: thethingsnetwork/lorawan-stack:latest
entrypoint: ttn-lw-stack -c /config/ttn-lw-stack-docker.yml
@@ -47,7 +45,7 @@ services:
TTN_LW_REDIS_ADDRESS: tts-redis:6379
TTN_LW_IS_DATABASE_URI: postgres://root:***@tts-postgres:5432/ttn_lorawan?sslmode=disable
ports:
- "1700:1700/udp"
- "1701:1700/udp" # ChirpStack uses 1700
labels:
- "traefik.enable=true"
# Console web
@@ -62,9 +60,7 @@ services:
- "traefik.http.services.tts-api.loadbalancer.server.port=1884"
networks:
- traefik-public
- tts-internal
- smartcity-shared
volumes:
tts-postgres-data:
tts-redis-data:
@@ -74,5 +70,3 @@ networks:
external: true
smartcity-shared:
external: true
tts-internal:
driver: bridge