Files
dragonsstash/.env.example
T
adminandClaude Sonnet 5 8bbf51f056 Add backup service and nas_backups volume to docker-compose.yml
Wires the backup service (from Tasks 1-2) into the production compose
configuration, adds NFS-backed nas_backups volume, and documents the four
required env vars (NAS_HOST, NAS_EXPORT_PATH, RESTIC_PASSWORD, KUMA_PUSH_URL, TZ)
in .env.example.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-23 01:09:35 +02:00

46 lines
1.4 KiB
Bash

# Database
DATABASE_URL="postgresql://dragons:stash@localhost:5432/dragonsstash?schema=public"
POSTGRES_USER="dragons"
POSTGRES_PASSWORD="stash"
POSTGRES_DB="dragonsstash"
# Auth.js
AUTH_SECRET="generate-with-openssl-rand-base64-32"
AUTH_TRUST_HOST=true
# GitHub OAuth (optional)
AUTH_GITHUB_ID=""
AUTH_GITHUB_SECRET=""
# App
# APP_PORT controls the port the container listens on AND how it is exposed on the host.
# If you change APP_PORT, also update NEXT_PUBLIC_APP_URL to match.
NEXT_PUBLIC_APP_URL="http://localhost:3000"
APP_PORT=3000
# API key for external access to package/ingestion endpoints (optional)
TELEGRAM_API_KEY=""
# Telegram integration (get from https://my.telegram.org/apps)
TELEGRAM_API_ID=""
TELEGRAM_API_HASH=""
# Telegram Bot (create via @BotFather on Telegram)
BOT_TOKEN=""
BOT_USERNAME="" # e.g. "MyDragonsStashBot" — enables deep link in Settings
# Worker (only needed when running worker container)
WORKER_INTERVAL_MINUTES=60
WORKER_TEMP_DIR="/tmp/zips"
TDLIB_STATE_DIR="/data/tdlib"
WORKER_MAX_ZIP_SIZE_MB=4096
MULTIPART_TIMEOUT_HOURS=0
LOG_LEVEL="info"
# Backup (NAS via NFS + restic)
NAS_HOST="" # Synology NAS IP or hostname reachable from this host
NAS_EXPORT_PATH="" # NFS export path, e.g. /volume1/dragonsstash-backups
RESTIC_PASSWORD="" # generate with: openssl rand -base64 32
KUMA_PUSH_URL="" # Uptime Kuma Push monitor URL (create the monitor first)
TZ="Etc/UTC"