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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user