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.
 
 

46 lines
1.0 KiB

version: '3.9'
services:
keycloak_db:
image: postgres:14.5
restart: always
environment:
- POSTGRES_DB=keycloak
- POSTGRES_USER=keycloak
- POSTGRES_PASSWORD=keycloak
volumes:
- ./postgres_data:/var/lib/postgresql/data
networks:
- local-keycloak
keycloak:
build:
context: ./build
depends_on:
- keycloak_db
environment:
- KC_HEALTH_ENABLED=true
- KC_DB=postgres
- KC_DB_URL=jdbc:postgresql://keycloak_db:5432/keycloak
- KC_DB_URL_DATABASE=keycloak
- KC_DB_USERNAME=keycloak
- KC_DB_PASSWORD=keycloak
- KC_PROXY_ADDRESS_FORWARDING=true
- KC_HOSTNAME=auth.cttue.de
- KC_HOSTNAME_STRICT_HTTPS=false
- KC_PROXY=edge
- KC_HTTP_ENABLED=true
- KC_HOSTNAME_STRICT=false
- VIRTUAL_HOST=auth.cttue.de
- VIRTUAL_PORT=8080
- LETSENCRYPT_HOST=auth.cttue.de
restart: always
networks:
- local-keycloak
- cttue_web_services
networks:
cttue_web_services:
external: true
local-keycloak: