initial commit

This commit is contained in:
Mathias Beaulieu-Duncan 2024-08-20 11:04:16 -04:00
commit 46e445c8c8
Signed by: mathias
GPG Key ID: 17DFF5425B1AB6BA
3 changed files with 32 additions and 0 deletions

4
.env.example Normal file
View File

@ -0,0 +1,4 @@
KC_FEATURES=hostname:v2,impersonation
KC_HOSTNAME=
KC_ADMIN_USER=
KC_ADMIN_PASSWORD=

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.env

27
docker-compose.yaml Normal file
View File

@ -0,0 +1,27 @@
version: '3.8'
services:
identity:
image: quay.io/keycloak/keycloak:latest
restart: always
command:
- start-dev
environment:
KC_FEATURES: ${KC_FEATURES}
KEYCLOAK_ADMIN: ${KC_ADMIN_USER}
KEYCLOAK_ADMIN_PASSWORD: ${KC_ADMIN_PASSWORD}
PROXY_ADDRESS_FORWARDING: "true"
KC_PROXY: edge
KC_PROXY_HEADERS: xforwarded
KC_HOSTNAME: ${KC_HOSTNAME}
KC_HOSTNAME_STRICT_HTTPS: "true"
KC_HTTP_ENABLED: "true"
networks:
- plan-b
- nginx-network
networks:
plan-b:
external: true
nginx-network:
external: true