Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit 74898f8

Browse files
committed
Updated README with new DB env vars
1 parent d929d58 commit 74898f8

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ docker run -ti --rm \
2828
-e KEYCLOAK_USER=admin \
2929
-e KEYCLOAK_PASSWORD=admin123 \
3030
-e DB_VENDOR=H2 \
31-
-p 18080:8080 dukecon/dukecon-keycloak:1.3-SNAPSHOT
31+
-p 18080:8080 dukecon/dukecon-keycloak:1.4-SNAPSHOT
3232
```
3333

3434
Wait a second for the Docker container to come up!
@@ -138,14 +138,17 @@ PGPASSWORD=test1234 psql -h 127.0.0.1 -U keycloak keycloak < keycloak.sql
138138
Start KeyCloak (in foreground, remove after stop/abort):
139139

140140
```bash
141-
# Override imported POSTGRES_PORT (which is like 'tcp://172...')
141+
# Override imported DB_PORT (which is like 'tcp://172...')
142142
docker run -ti --rm \
143143
--name keycloak-test \
144144
-e KEYCLOAK_USER=admin \
145145
-e KEYCLOAK_PASSWORD=admin123 \
146-
-e POSTGRES_PORT=5432 \
146+
-e DB_VENDOR=postgres \
147+
-e DB_SCHEMA=public \
148+
-e DB_ADDR=db \
149+
-e DB_PORT=5432 \
147150
-e DB_USER=keycloak \
148151
-e DB_PASSWORD=test1234 \
149-
--link postgres-keycloak:postgres \
150-
-p 18080:8080 dukecon/dukecon-keycloak:1.3-SNAPSHOT
152+
--link postgres-keycloak:db \
153+
-p 18080:8080 dukecon/dukecon-keycloak:1.4-SNAPSHOT
151154
```

0 commit comments

Comments
 (0)