Skip to content

Commit eec792d

Browse files
committed
fix: new env format
1 parent ecc7427 commit eec792d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.env.example

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ POSTGRES_USER=keycloak
44
POSTGRES_PASSWORD=keycloak_password
55

66
# Keycloak Admin
7-
KEYCLOAK_ADMIN=admin
8-
KEYCLOAK_ADMIN_PASSWORD=admin123
7+
KC_BOOTSTRAP_ADMIN_USERNAME=admin
8+
KC_BOOTSTRAP_ADMIN_PASSWORD=admin123
9+
KEYCLOAK_PORT=8080
910

1011
# Database
1112
KC_DB=postgres

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ services:
2020
env_file:
2121
- .env
2222
ports:
23-
- "8080:8080"
23+
- "${KEYCLOAK_PORT}:8080"
2424
depends_on:
2525
postgres:
2626
condition: service_healthy

0 commit comments

Comments
 (0)