so close
All checks were successful
Build and Push Docker Image / build (push) Successful in 47s

This commit is contained in:
2025-10-22 00:52:43 -07:00
parent 2289f7f400
commit 8fc3c0ae37

View File

@@ -2,11 +2,15 @@
set -e
# Source env if available
if [[ -f /config/backupbot.env ]]; then
export $(grep -v '^#' /config/backupbot.env | xargs)
set -a
source /config/backupbot.env
set +a
else
echo "[INFO] copying env vars from defaults..."
cp -r /defaults/backupbot.env /config/
export $(grep -V '^#' /config/backupbot.env | xargs)
set -a
source /config/backupbot.env
set +a
fi
# Initialize default web interface if missing
if [ ! -d /config/web ]; then