Skip to content

Commit

Permalink
update start & install keycloak
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinDo committed Jun 4, 2024
1 parent f5188a5 commit 0b943ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/frontend_celery/start_keycloak.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ fi

if [ "${WEBAPP_ENV}" == "prod" ]
then
$KEYCLOAK_PATH/bin/kc.sh start --auto-build --http-relative-path=/kc --db mariadb --proxy=edge --hostname-strict=false --log-level INFO --http-host=localhost --db-url "jdbc:mariadb://$KEYCLOAK_DB_HOST:$KEYCLOAK_DB_PORT/$KEYCLOAK_DB_SCHEME?allowPublicKeyRetrieval=true\&useSSL=false" --db-url-host $KEYCLOAK_DB_HOST --db-url-port $KEYCLOAK_DB_PORT --db-schema $KEYCLOAK_DB_SCHEME --http-port=$KEYCLOAK_PORT --db-username $KEYCLOAK_DB_USERNAME --db-password $KEYCLOAK_DB_PW --log console,file --log-file $logs/keycloak.log
$KEYCLOAK_PATH/bin/kc.sh start --auto-build --http-relative-path=/kc --db mariadb --proxy=edge --hostname-strict=false --log-level INFO --hostname=$KEYCLOAK_HOST --http-host=$KEYCLOAK_HOST --http-port=$KEYCLOAK_PORT --db-url "jdbc:mariadb://$KEYCLOAK_DB_HOST:$KEYCLOAK_DB_PORT/$KEYCLOAK_DB_SCHEME?allowPublicKeyRetrieval=true\&useSSL=false" --db-url-host $KEYCLOAK_DB_HOST --db-url-port $KEYCLOAK_DB_PORT --db-schema $KEYCLOAK_DB_SCHEME --db-username $KEYCLOAK_DB_USERNAME --db-password $KEYCLOAK_DB_PW --log console,file --log-file $logs/keycloak.log

#$KEYCLOAK_PATH/bin/kc.sh start --proxy=edge --hostname-strict=false --hostname=$KEYCLOAK_HOST #heredivar.uni-koeln.de --log-level INFO
fi
Expand Down
2 changes: 1 addition & 1 deletion tools/script/install_keycloak.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ mv keycloak-$version $foldername
# follow this tutorial: https://gist.github.com/matissime/f9c6e72826862d5fd8a582289b2a2d5f
#mkdir -p keycloak/data/import/
#cp $basedir/tools/data/init_keycloak.json keycloak/data/import/
#keycloak/bin/kc.sh --verbose start --auto-build --import-realm --http-relative-path=/kc --db mysql --proxy=edge --hostname-strict=false --log-level INFO --http-host=localhost --db-url "jdbc:mysql://$KEYCLOAK_DB_HOST:$KEYCLOAK_DB_PORT/$KEYCLOAK_DB_SCHEME?allowPublicKeyRetrieval=true\&useSSL=false" --db-url-host $KEYCLOAK_DB_HOST --db-url-port $KEYCLOAK_DB_PORT --db-schema $KEYCLOAK_DB_SCHEME --http-port=$KEYCLOAK_PORT --db-username $KEYCLOAK_DB_USERNAME --db-password $KEYCLOAK_DB_PW
#keycloak/bin/kc.sh --verbose start --auto-build --import-realm --http-relative-path=/kc --db mysql --proxy=edge --hostname-strict=false --log-level INFO --http-host=$KEYCLOAK_HOST --http-port=$KEYCLOAK_PORT --db-url "jdbc:mysql://$KEYCLOAK_DB_HOST:$KEYCLOAK_DB_PORT/$KEYCLOAK_DB_SCHEME?allowPublicKeyRetrieval=true\&useSSL=false" --db-url-host $KEYCLOAK_DB_HOST --db-url-port $KEYCLOAK_DB_PORT --db-schema $KEYCLOAK_DB_SCHEME --db-username $KEYCLOAK_DB_USERNAME --db-password $KEYCLOAK_DB_PW
#rm keycloak/data/import/init_keycloak.json

0 comments on commit 0b943ad

Please sign in to comment.