fix: OpenRemote Traefik + GeoServer CORS + Keycloak route

This commit is contained in:
Eric
2026-05-11 14:21:24 -04:00
parent 742c3d3959
commit 04b8dfa67b
3 changed files with 66 additions and 43 deletions

42
dynamic/ditto.yml Normal file
View File

@@ -0,0 +1,42 @@
# Configuration Traefik pour Eclipse Ditto
http:
routers:
# Point d'entrée principal Ditto (Gateway)
ditto-gateway:
rule: "Host(`ditto.digitribe.fr`)"
entryPoints:
- websecure
service: ditto-gateway-service
tls: {}
# API Policies
ditto-policies:
rule: "Host(`ditto.digitribe.fr`) && PathPrefix(`/policies`)"
entryPoints:
- websecure
service: ditto-policies-service
tls: {}
# API Things
ditto-things:
rule: "Host(`ditto.digitribe.fr`) && PathPrefix(`/things`)"
entryPoints:
- websecure
service: ditto-things-service
tls: {}
services:
ditto-gateway-service:
loadBalancer:
servers:
- url: "http://smart-city-ditto-gateway:8080"
ditto-policies-service:
loadBalancer:
servers:
- url: "http://smart-city-ditto-policies:8080"
ditto-things-service:
loadBalancer:
servers:
- url: "http://smart-city-ditto-things:8080"