Initial commit — Moon Household Budget
This commit is contained in:
24
moon-household-budget-handoff/docker/.env.example
Normal file
24
moon-household-budget-handoff/docker/.env.example
Normal file
@@ -0,0 +1,24 @@
|
||||
# Copy to `.env` and fill in. NEVER commit the real .env (it's gitignored).
|
||||
# Tony will hand over the two B2 keys and confirm the Gitea token.
|
||||
|
||||
# ---- App ----
|
||||
PORT=8000
|
||||
SECRET_KEY=__GENERATE_A_RANDOM_STRING__
|
||||
# SQLite on the mounted volume — keeps the stack self-contained:
|
||||
DATABASE_URL=sqlite:////data/app.db
|
||||
# Public URL the app is reached at (used for absolute upload links):
|
||||
APP_ORIGIN=http://192.168.0.5:8052
|
||||
|
||||
# ---- Suggestions → Gitea issues ----
|
||||
GITEA_URL=http://192.168.0.5:3022
|
||||
GITEA_TOKEN=__BONNA_GITEA_TOKEN__
|
||||
GITEA_REPO=bonna61/moon-household-budget
|
||||
|
||||
# ---- Backblaze B2 backup (read by the rclone sidecar) ----
|
||||
# rclone reads its remote config straight from these env vars:
|
||||
RCLONE_CONFIG_B2_TYPE=b2
|
||||
RCLONE_CONFIG_B2_ACCOUNT=__B2_KEY_ID__
|
||||
RCLONE_CONFIG_B2_KEY=__B2_APPLICATION_KEY__
|
||||
B2_BUCKET=moon-household-budget-backup
|
||||
BACKUP_INTERVAL=86400 # seconds between backups (86400 = daily)
|
||||
BACKUP_KEEP_DAYS=30 # prune DB snapshots older than this
|
||||
Reference in New Issue
Block a user