add ignore

This commit is contained in:
holzi1005 2024-12-08 11:41:46 +01:00
parent 9baf460773
commit 6abc086ba0
6 changed files with 10 additions and 0 deletions

8
.gitignore vendored Normal file
View file

@ -0,0 +1,8 @@
# Ignore Custom Keycloak Realm
keycloak/realm-export.json
# Ignore Custom init-userdb
mysql-initdb/init-userdb.sql
# Ignore Custom docker-compose
docker-compose.yml

View file

@ -70,6 +70,7 @@ echo --- 1. Build the Keycloak ----------------------------------
echo ------------------------------------------------------------
echo ""
cp keycloak/.realm-export.json keycloak/realm-export.json
sed -i "s|<clientsecret>|$OAUTH_KEYCLOAK_CLIENT_ID|g" keycloak/realm-export.json
sed -i "s|<clientUrl>|$HTTP_METHOD://$PUBLIC_URL|g" keycloak/realm-export.json
@ -78,6 +79,7 @@ echo ------ 2. Build Mysql Init DB ------------------------------
echo ------------------------------------------------------------
echo ""
cp mysql-initdb/.init-userdb.sql mysql-initdb/init-userdb.sql
sed -i "s|<open-datenschutzcenter-pw>|$ODC_DB_PW|g" mysql-initdb/init-userdb.sql
sed -i "s|<keycloak-pw>|$KEYCLOAK_PW|g" mysql-initdb/init-userdb.sql