Skip to content

Instantly share code, notes, and snippets.

View hkeeler's full-sized avatar

Hans Keeler hkeeler

  • Consumer Financial Protection Bureau
  • United States
View GitHub Profile
This file has been truncated, but you can view the full file.
diff -ru /tmp/keycloak/jboss_keycloak-postgres-3.2.1.Final/jboss/docker-entrypoint.sh /tmp/keycloak/jboss_keycloak-postgres-3.4.0.Final/jboss/docker-entrypoint.sh
--- /tmp/keycloak/jboss_keycloak-postgres-3.2.1.Final/jboss/docker-entrypoint.sh 2017-07-21 09:38:56.000000000 -0400
+++ /tmp/keycloak/jboss_keycloak-postgres-3.4.0.Final/jboss/docker-entrypoint.sh 2017-11-10 03:33:55.000000000 -0500
@@ -4,5 +4,26 @@
keycloak/bin/add-user-keycloak.sh --user $KEYCLOAK_USER --password $KEYCLOAK_PASSWORD
fi
+if [ "$DB_VENDOR" == "POSTGRES" ]; then
+ databaseToInstall="postgres"
+elif [ "$DB_VENDOR" == "MYSQL" ]; then
@hkeeler
hkeeler / keycloak-postgres-upgrade-2.4.0-2.5.0.diff
Created January 3, 2017 17:15
Diff of /opt/jboss directory from v2.4.0 to v2.5.0 of jboss/keycloak-postgres Docker images
Only in /tmp/keycloak/jboss_keycloak-postgres-2.5.0.Final/jboss/keycloak/bin/client: keycloak-admin-cli-2.5.0.Final.jar
Only in /tmp/keycloak/jboss_keycloak-postgres-2.4.0.Final/jboss/keycloak/bin/client: keycloak-client-registration-cli-2.4.0.Final.jar
Only in /tmp/keycloak/jboss_keycloak-postgres-2.5.0.Final/jboss/keycloak/bin/client: keycloak-client-registration-cli-2.5.0.Final.jar
Only in /tmp/keycloak/jboss_keycloak-postgres-2.5.0.Final/jboss/keycloak/bin: kcadm.bat
Only in /tmp/keycloak/jboss_keycloak-postgres-2.5.0.Final/jboss/keycloak/bin: kcadm.sh
diff -ru /tmp/keycloak/jboss_keycloak-postgres-2.4.0.Final/jboss/keycloak/bin/kcreg.bat /tmp/keycloak/jboss_keycloak-postgres-2.5.0.Final/jboss/keycloak/bin/kcreg.bat
--- /tmp/keycloak/jboss_keycloak-postgres-2.4.0.Final/jboss/keycloak/bin/kcreg.bat 2016-11-23 14:27:40.000000000 -0500
+++ /tmp/keycloak/jboss_keycloak-postgres-2.5.0.Final/jboss/keycloak/bin/kcreg.bat 2017-01-03 08:18:02.000000000 -0500
@@ -5,4 +5,4 @@
) else (
@hkeeler
hkeeler / keycloak-postgres-upgrade-2.3.0-2.4.0.diff
Created December 7, 2016 19:14
Diff of /opt/jboss directory from v2.3.0 to v2.4.0 of jboss/keycloak-postgres
Only in /tmp/keycloak/jboss_keycloak-postgres-2.3.0.Final/jboss/keycloak/bin/client: keycloak-client-registration-cli-2.3.0.Final.jar
Only in /tmp/keycloak/jboss_keycloak-postgres-2.4.0.Final/jboss/keycloak/bin/client: keycloak-client-registration-cli-2.4.0.Final.jar
diff -ru /tmp/keycloak/jboss_keycloak-postgres-2.3.0.Final/jboss/keycloak/bin/kcreg.bat /tmp/keycloak/jboss_keycloak-postgres-2.4.0.Final/jboss/keycloak/bin/kcreg.bat
--- /tmp/keycloak/jboss_keycloak-postgres-2.3.0.Final/jboss/keycloak/bin/kcreg.bat 2016-10-26 02:58:56.000000000 -0400
+++ /tmp/keycloak/jboss_keycloak-postgres-2.4.0.Final/jboss/keycloak/bin/kcreg.bat 2016-11-23 14:27:40.000000000 -0500
@@ -5,4 +5,4 @@
) else (
set DIRNAME=.\
)
-java %KC_OPTS% -cp %DIRNAME%\client\keycloak-client-registration-cli-2.3.0.Final.jar org.keycloak.client.registration.cli.KcRegMain %*
@hkeeler
hkeeler / postgres-install-mac.sh
Last active November 16, 2023 10:47
Installing Postgres With Homebrew and Lunchy
# Assumes Homebrew is already installed.
# If not, follow instructions on http://brew.sh/
# INSTALLATION
# Update all Homebrew packages
brew update
# Upgrade Ruby to latest version
# NOTE: You'll need to `brew install ruby` if you haven't already installed Ruby