Files
Dockhand_Backup/.env.example
TDPI 8d0db9beba
All checks were successful
Create Release PR / Create Release PR (push) Successful in 20s
feat: first release
2026-07-13 13:31:51 +02:00

41 lines
1.3 KiB
Plaintext

# Copy to .env and adjust. Loaded automatically at startup (dev convenience).
# Real container env vars take precedence over this file.
# --- Dev mode ---
# Auto-off inside Docker, auto-on outside. Force it explicitly if you want.
# In dev: local ./data + ./backup, mock Dockhand (if no creds), SIMULATED backups.
DEV_MODE=true
# --- Flask ---
FLASK_SECRET_KEY=change-me-to-a-long-random-string
# PORT=8080
# --- Dockhand connection (daemon logs in with these) ---
# Leave empty in dev to use the built-in mock Dockhand with example stacks.
DOCKHAND_URL=
DOCKHAND_USER=
DOCKHAND_PASS=
DOCKHAND_PROVIDER=local
DOCKHAND_ENV_ID=1
DOCKHAND_VERIFY_TLS=true
# --- Timezone (display, filenames, cron) ---
TZ=Europe/Berlin
# --- Prod deployment (docker-compose.yml reads these for HOST paths) ---
# Where the .tar files land / where config.json is persisted on the host:
BACKUP_DIR=/mnt/user/backups/stacks
CONFIG_DIR=/mnt/user/appdata/dockhand-backup
# Host root that gets mounted read-only (source of the bind paths to back up):
BIND_ROOT=/mnt/user
# --- Container-internal paths (rarely changed) ---
# BACKUP_ROOT=/backup
# --- Authentik OIDC for THIS tool's web UI (optional) ---
# Leave empty to keep the UI open (e.g. behind a reverse proxy).
OIDC_ISSUER=
OIDC_CLIENT_ID=
OIDC_CLIENT_SECRET=
OIDC_REDIRECT_URI=