mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-02 01:00:33 -06:00
16 lines
405 B
Bash
16 lines
405 B
Bash
#!/bin/sh
|
|
|
|
set -eu
|
|
if [ -f "/run/secrets/database_url" ]; then
|
|
export DATABASE_URL=$(cat /run/secrets/database_url)
|
|
else
|
|
echo "DATABASE_URL secret not found. Build may fail if this is required."
|
|
fi
|
|
|
|
if [ -f "/run/secrets/encryption_key" ]; then
|
|
export ENCRYPTION_KEY=$(cat /run/secrets/encryption_key)
|
|
else
|
|
echo "ENCRYPTION_KEY secret not found. Build may fail if this is required."
|
|
fi
|
|
|
|
exec "$@" |