This commit is contained in:
Benjamin Toby 2025-01-13 22:59:45 +01:00
parent 4a4ac6a7e7
commit 43e98d1565

View File

@ -32,15 +32,15 @@ if [ -n "${NEXT_PUBLIC_DSQL_LOCAL}" ]; then
batchrun batchrun
else else
echo "NEXT_PUBLIC_DSQL_LOCAL is set. Running Local initialization ..." echo "NEXT_PUBLIC_DSQL_LOCAL is set. Running Local initialization ..."
bun /app/docker-root-user-init.ts # bun /app/docker-root-user-init.ts
if [[ $? == 0 ]]; then if [[ $? == 0 ]]; then
echo "First User Setup Complete" echo "First User Setup Complete"
else else
echo "First User Setup Failed!. Exiting ..." echo "First User Setup Failed!. Exiting ..."
exit 1 exit 1
fi fi
bun /app/package-shared/shell/mariadb-users/refreshUsersAndGrants.ts # bun /app/package-shared/shell/mariadb-users/refreshUsersAndGrants.ts
bun run start:local bun server.ts
fi fi
else else
echo "NEXT_PUBLIC_DSQL_LOCAL is not set." echo "NEXT_PUBLIC_DSQL_LOCAL is not set."