feat(*): initial commit
build / Go-Build (push) Successful in 1m1s

This commit is contained in:
2026-06-24 00:16:21 +02:00
parent 3cf9e6f266
commit 85e4df52a5
20 changed files with 1125 additions and 3 deletions
+45
View File
@@ -0,0 +1,45 @@
#!/bin/sh
CMD="outfit-voting-abi26"
if [ -n "$DB_HOST" ]; then
CMD="$CMD --dbhost $DB_HOST"
fi
if [ -n "$DB_PORT" ]; then
CMD="$CMD --dbport $DB_PORT"
fi
if [ -n "$DB_NAME" ]; then
CMD="$CMD --dbname $DB_NAME"
fi
if [ -n "$DB_USER" ]; then
CMD="$CMD --dbuser $DB_USER"
fi
if [ -n "$DB_PASS" ]; then
CMD="$CMD --dbpass $DB_PASS"
fi
if [ -n "$OIDC_ISSUER" ]; then
CMD="$CMD --oidcIssuer $OIDC_ISSUER"
fi
if [ -n "$OIDC_CLIENTID" ]; then
CMD="$CMD --oidcClientID $OIDC_CLIENTID"
fi
if [ -n "$OIDC_SECRET" ]; then
CMD="$CMD --oidcClientSecret $OIDC_SECRET"
fi
if [ -n "$OIDC_REDIRECT" ]; then
CMD="$CMD --oidcRedirectURI $OIDC_REDIRECT"
fi
if [ -n "$SIGNINGKEY" ]; then
CMD="$CMD --signingKey $SIGNINGKEY"
fi
eval exec $CMD "$@"