From f157dd7915db5f47b81325f93bec645017661294 Mon Sep 17 00:00:00 2001 From: Stian Thorgersen Date: Tue, 30 Dec 2014 10:05:27 +0100 Subject: [PATCH] Updated instructions to test on PostgreSQL --- misc/DatabaseTesting.md | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/misc/DatabaseTesting.md b/misc/DatabaseTesting.md index 5e67c29e55..0ae699d27c 100644 --- a/misc/DatabaseTesting.md +++ b/misc/DatabaseTesting.md @@ -25,7 +25,7 @@ PostgreSQL Use the official [PostgreSQL docker image](https://registry.hub.docker.com/_/postgres/). -Start MySQL: +Start PostgreSQL: docker run --name postgres -e POSTGRES_DATABASE=keycloak -e POSTGRES_USER=keycloak -e POSTGRES_PASSWORD=keycloak -e POSTGRES_ROOT_PASSWORD=keycloak -d postgres @@ -33,20 +33,7 @@ Run tests: mvn clean install -Dkeycloak.connectionsJpa.url=jdbc:postgresql://`docker inspect --format '{{ .NetworkSettings.IPAddress }}' postgres`:5432/keycloak -Dkeycloak.connectionsJpa.driver=org.postgresql.Driver -Dkeycloak.connectionsJpa.user=keycloak -Dkeycloak.connectionsJpa.password=keycloak -Stop MySQl: +Stop PostgreSQL: docker rm -f postgres - - -Oracle ------- - -Use the unoffical [Oracle XE 11g image](docker run -d -p 49160:22 -p 49161:1521 -p 49162:8080 alexeiled/docker-oracle-xe-11g). - -Start Oracle XE: - - docker run --name oracle -d alexeiled/docker-oracle-xe-11g - -Run tests: -