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.
 
 

31 lines
721 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:
healthCheck:
path: /auth/realms/master
interval: "10s"
timeout: "3s"
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: {}