mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-30 11:41:05 -05:00
2c34f43c83
Co-authored-by: Piyush Gupta <piyushguptaa2z123@gmail.com>
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 "$@" |