Skip to content

Latest commit

 

History

History
33 lines (30 loc) · 629 Bytes

README.md

File metadata and controls

33 lines (30 loc) · 629 Bytes

keycloak-jdbc-ping

keycloak Dockerfile(jdbc-ping, postgres)

quickstart

network create

$ docker network create mynet

postgres start

$ docker run -d \
  --name postgres \
  --net mynet \
  -e POSTGRES_DATABASE=keycloak \
  -e POSTGRES_USER=keycloak \
  -e POSTGRES_PASSWORD=password \
  -e POSTGRES_ROOT_PASSWORD=password \
  postgres

keycloak start

$ docker run -dP \
  --name keycloak \
  --network mynet \
  -e DB_USER=keycloak \
  -e DB_PASSWORD=password \
  -e DB_DATABASE=keycloak \
  -e KEYCLOAK_USER=admin \
  -e KEYCLOAK_PASSWORD=admin \
  moremagic/keycloak-jdbc-ping