docker layers are my enemy
All checks were successful
Build and Push Docker Image / build (push) Successful in 48s

This commit is contained in:
2025-10-21 01:02:47 -07:00
parent 7fbeb3aa26
commit 300ad5b49c
2 changed files with 5 additions and 1 deletions

View File

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