Session 2026-05-17: GeoServer, PostGIS dédié, MapStore, ChirpStack
- GeoServer: workspace Digitribe + Data Store PostGIS dédié - PostGIS dédié: conteneur postgis-smartcity (PostGIS 3.4) - Couche sensors: 55 capteurs IoT importés depuis OpenRemote - MapStore: GeoServer WMS ajouté au CORS - ChirpStack: credentials réinitialisés (admin/admin1234) - BunkerM: DNS corrigé (underscores → hyphens) - Ditto: config MongoDB et auth devops - Documentation: session_resume + TODO.md
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Eclipse Ditto - Smart City Digital Twin (MongoDB fix)
|
||||
# Eclipse Ditto - Smart City Digital Twin
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
@@ -21,10 +21,13 @@ services:
|
||||
depends_on:
|
||||
- ditto-mongodb
|
||||
environment:
|
||||
- DITTO_JWT_SECRET=my-ditto-secret-12345
|
||||
- TZ=Europe/Berlin
|
||||
- BIND_HOSTNAME=0.0.0.0
|
||||
- DITTO_JWT_SECRET=my-ditto-jwt-secret-key-12345
|
||||
- MONGO_HOST=smart-city-ditto-mongodb
|
||||
- MONGO_PORT=27017
|
||||
- MONGO_DB=Policies
|
||||
- MONGODB_URI=mongodb://smart-city-ditto-mongodb:27017/Policies
|
||||
- AKKA_REMOTE_ENABLED=false
|
||||
networks:
|
||||
traefik-public:
|
||||
@@ -46,10 +49,13 @@ services:
|
||||
- ditto-mongodb
|
||||
- ditto-policies
|
||||
environment:
|
||||
- DITTO_JWT_SECRET=my-ditto-secret-12345
|
||||
- TZ=Europe/Berlin
|
||||
- BIND_HOSTNAME=0.0.0.0
|
||||
- DITTO_JWT_SECRET=my-ditto-jwt-secret-key-12345
|
||||
- MONGO_HOST=smart-city-ditto-mongodb
|
||||
- MONGO_PORT=27017
|
||||
- MONGO_DB=Things
|
||||
- MONGODB_URI=mongodb://smart-city-ditto-mongodb:27017/Things
|
||||
- AKKA_REMOTE_ENABLED=false
|
||||
networks:
|
||||
traefik-public:
|
||||
@@ -71,12 +77,17 @@ services:
|
||||
- ditto-things
|
||||
- ditto-policies
|
||||
environment:
|
||||
- DITTO_JWT_SECRET=my-ditto-secret-12345
|
||||
- TZ=Europe/Berlin
|
||||
- BIND_HOSTNAME=0.0.0.0
|
||||
- DITTO_JWT_SECRET=my-ditto-jwt-secret-key-12345
|
||||
- DITTO_GATEWAY_PROXY_ENABLED=true
|
||||
- AKKA_REMOTE_ENABLED=false
|
||||
- DITTO_GW_STREAMING_ENABLED=true
|
||||
- DITTO_GW_MQTT_BROKER=smart-city-mosquitto:1883
|
||||
- DITTO_GW_MQTT_TOPIC_FILTER=smartcity/#
|
||||
- DEVOPS_PASSWORD=ditto-devops-secret
|
||||
- ENABLE_PRE_AUTHENTICATION=true
|
||||
- JAVA_TOOL_OPTIONS=-Dditto.gateway.authentication.devops.password=ditto-devops-secret -Dditto.gateway.authentication.devops.secured=true -Dditto.gateway.authentication.devops.devops-authentication-method=basic
|
||||
networks:
|
||||
traefik-public:
|
||||
aliases:
|
||||
@@ -85,7 +96,8 @@ services:
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.ditto-gateway.rule=Host(`ditto.digitribe.fr`)"
|
||||
- "traefik.http.routers.ditto-gateway.entrypoints=web"
|
||||
- "traefik.http.routers.ditto-gateway.entrypoints=websecure"
|
||||
- "traefik.http.routers.ditto-gateway.tls.certresolver=letsencrypt"
|
||||
- "traefik.http.services.ditto-gateway.loadbalancer.server.port=8080"
|
||||
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user