Skip to content

Instantly share code, notes, and snippets.

@ERRECabrera
ERRECabrera / keycloak-postgres-jdbc-ping.yml
Created December 16, 2019 16:32
Template creates a volume for PostgreSQL and boots up Keycloak connected to it. Traefik is used like load balancer to redirect all request to diferent container instances. The most important change is the JGroups Discovery protocol that is used in this configuration, which is `JDBC_PING`. `JDBC_PING` reuses the same database instance as all Keyc…
version: '3'
volumes:
postgres_data:
driver: local
services:
postgres:
image: 'postgres:alpine'
volumes: