30 lines
812 B
Plaintext
30 lines
812 B
Plaintext
TYPE=backup-bot-two
|
|
|
|
SECRET_RESTIC_PASSWORD_VERSION=v1
|
|
|
|
COMPOSE_FILE=compose.yml
|
|
|
|
RESTIC_REPOSITORY=/backups/restic
|
|
|
|
CRON_SCHEDULE='30 3 * * *'
|
|
|
|
# swarm-cronjob, instead of built-in cron
|
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.swarm-cronjob.yml"
|
|
|
|
# SSH storage
|
|
#SECRET_SSH_KEY_VERSION=v1
|
|
#SSH_HOST_KEY="hostname ssh-rsa AAAAB3...
|
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.ssh.yml"
|
|
|
|
# S3 storage
|
|
#SECRET_AWS_SECRET_ACCESS_KEY_VERSION=v1
|
|
#AWS_ACCESS_KEY_ID=something-secret
|
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.s3.yml"
|
|
|
|
# Secret restic repository
|
|
# use a secret to store the RESTIC_REPOSITORY if the repository location contains a secret value
|
|
# i.E rest:https://user:SECRET_PASSWORD@host:8000/
|
|
# it overwrites the RESTIC_REPOSITORY variable
|
|
#SECRET_RESTIC_REPO_VERSION=v1
|
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.secret.yml"
|