fix: OpenRemote Traefik + GeoServer CORS + Keycloak route
This commit is contained in:
42
dynamic/ditto.yml
Normal file
42
dynamic/ditto.yml
Normal 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"
|
||||
Reference in New Issue
Block a user