Add git backup functionality
Fixes: https://github.com/TheLovinator1/discord-rss-bot/issues/421 Merges: https://github.com/TheLovinator1/discord-rss-bot/pull/422
This commit is contained in:
parent
9378dac0fa
commit
e8bd528def
16 changed files with 1062 additions and 89 deletions
19
.env.example
Normal file
19
.env.example
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# You can optionally store backups of your bot's configuration in a git repository.
|
||||
# This allows you to track changes by subscribing to the repository or using a RSS feed.
|
||||
# Local path for the backup git repository (e.g., /data/backup or /home/user/backups/discord-rss-bot)
|
||||
# When set, the bot will initialize a git repo here and commit state.json after every configuration change
|
||||
# GIT_BACKUP_PATH=
|
||||
|
||||
# Remote URL for pushing backup commits (e.g., git@github.com:username/private-config.git)
|
||||
# Optional - only set if you want automatic pushes to a remote repository
|
||||
# Leave empty to keep git history local only
|
||||
# GIT_BACKUP_REMOTE=
|
||||
|
||||
# Sentry Configuration (Optional)
|
||||
# Sentry DSN for error tracking and monitoring
|
||||
# Leave empty to disable Sentry integration
|
||||
# SENTRY_DSN=
|
||||
|
||||
# Testing Configuration
|
||||
# Discord webhook URL used for testing (optional, only needed when running tests)
|
||||
# TEST_WEBHOOK_URL=
|
||||
Loading…
Add table
Add a link
Reference in a new issue