Skip to content

Commit

Permalink
Make internal credentials configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
ja-fra committed Nov 9, 2023
1 parent 5dbd48f commit 3fbcf32
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ services:
KC_HOSTNAME: 'auth.more.redlink.io'
KC_DB_URL_HOST: 'database'
KC_DB_URL_DATABASE: 'keycloak'
KC_DB_USERNAME: 'keycloak'
KC_DB_PASSWORD: 'secretPassword123'
KC_DB_USERNAME: '${DB_USERNAME:-keycloak}'
KC_DB_PASSWORD: '${DB_PASSWORD:-secretPassword123}'
# SSL is handled by ingress
KC_PROXY: 'edge'
KC_HOSTNAME_STRICT: 'true'
KC_HOSTNAME_STRICT_BACKCHANNEL: 'true'
# Initial Admin User/Password (will be changed on first login)
KEYCLOAK_ADMIN: 'redlink'
KEYCLOAK_ADMIN_PASSWORD: 'ut2ouwieV7iy'
KEYCLOAK_ADMIN: 'kc-admin'
KEYCLOAK_ADMIN_PASSWORD: 'kc-admin'
logging: &logging
options:
max-size: "10M"
Expand All @@ -53,8 +53,8 @@ services:
timeout: 1s
retries: 5
environment:
POSTGRES_PASSWORD: secretPassword123
POSTGRES_USER: keycloak
POSTGRES_PASSWORD: ${DB_PASSWORD:-secretPassword123}
POSTGRES_USER: ${DB_USERNAME:-keycloak}
POSTGRES_DB: keycloak
volumes:
- type: volume
Expand Down

0 comments on commit 3fbcf32

Please sign in to comment.