Lab showing keycloak deployed with clustering enabled
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

27 lines
614 B

http:
routers:
keycloak-http:
rule: "Host(`lb.itix.lab`)"
entryPoints:
- http
- https
middlewares:
service: "keycloak"
keycloak-https:
rule: "Host(`lb.itix.lab`)"
entryPoints:
- http
- https
middlewares:
service: "keycloak"
tls: {}
services:
keycloak:
loadBalancer:
servers:
- url: "http://sso1.itix.lab:8080"
- url: "http://sso2.itix.lab:8080"
- url: "http://sso3.itix.lab:8080"
# Sticky session is required for users to login
sticky:
cookie: {}