Manifests/keycloak/keycloak.yml
kube-master@emrekirman.com 1eec8441d7 keycloak yml modified
2026-05-02 09:32:12 +00:00

40 lines
933 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

version: '3.8'
services:
keycloak:
image: quay.io/keycloak/keycloak:latest
command: start --optimized
environment:
KC_DB: postgres
KC_DB_URL: jdbc:postgresql://postgres-db:5432/keycloak
KC_DB_USERNAME: postgres
KC_DB_PASSWORD: 98836
KC_HOSTNAME: auth.emrekirman.com # Kendi domaininizle değiştirin
KC_PROXY: edge # Reverse proxy (Nginx/Traefik) arkasındaysanız gerekli
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: eE24619840420*
ports:
- target: 8080
published: 8084
protocol: tcp
mode: host
networks:
- postgres_network
- keycloak-net
deploy:
replicas: 2
update_config:
parallelism: 1
delay: 10s
restart_policy:
condition: on-failure
volumes:
postgres_data:
networks:
postgres_network:
external: true
keycloak-net:
driver: overlay
attachable: true