This repository was archived by the owner on Feb 22, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ docker run -ti --rm \
28
28
-e KEYCLOAK_USER=admin \
29
29
-e KEYCLOAK_PASSWORD=admin123 \
30
30
-e DB_VENDOR=H2 \
31
- -p 18080:8080 dukecon/dukecon-keycloak:1.3 -SNAPSHOT
31
+ -p 18080:8080 dukecon/dukecon-keycloak:1.4 -SNAPSHOT
32
32
```
33
33
34
34
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
138
138
Start KeyCloak (in foreground, remove after stop/abort):
139
139
140
140
``` bash
141
- # Override imported POSTGRES_PORT (which is like 'tcp://172...')
141
+ # Override imported DB_PORT (which is like 'tcp://172...')
142
142
docker run -ti --rm \
143
143
--name keycloak-test \
144
144
-e KEYCLOAK_USER=admin \
145
145
-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 \
147
150
-e DB_USER=keycloak \
148
151
-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
151
154
```
You can’t perform that action at this time.
0 commit comments