Browse Source

updated variable naming

Toastie 4 years ago
parent
commit
fbe8acb388
2 changed files with 4 additions and 4 deletions
  1. 3 3
      restic/.env.template
  2. 1 1
      restic/docker-compose.yml

+ 3 - 3
restic/.env.template

@@ -1,9 +1,9 @@
 # Directory on the docker host to bind-mount to be backed up
 # BACKUP_SOURCE is bind-mounted to /mnt/source
-BACKUP_SOURCE=/home
+RESTIC_BACKUP_SOURCE=/home
 
 # Folders to be backed up in the format /mnt/source/<folder>
-BACKUP_BACKUP_FOLDERS=/mnt/source/john /mnt/source/jane
+RESTIC__BACKUP_FOLDERS=/mnt/source/john /mnt/source/jane
 
 # Additional arguments for restic backup
 RESTIC_BACKUP_ARGS=--limit-upload 244 --limit-download 244
@@ -12,7 +12,7 @@ RESTIC_BACKUP_ARGS=--limit-upload 244 --limit-download 244
 RESTIC_FORGET_ARGS=--keep-weekly 2 --prune
 
 # Passphrase to encrypt the backup
-ESTIC_PASSWORD=AnotherSetOf30RandomCharacters
+RESTIC_PASSWORD=AnotherSetOf30RandomCharacters
 
 # S3 Bucket + Credentials
 AWS_ACCESS_KEY_ID=example-TwelveChar

+ 1 - 1
restic/docker-compose.yml

@@ -6,7 +6,7 @@ services:
     hostname: restic
     restart: on-failure:3
     volumes:
-      - ${BACKUP_SOURCE}:/mnt/source:ro 
+      - ${RESTIC_BACKUP_SOURCE}:/mnt/source:ro 
       - ./data/restic:/root/restic:ro
       - ./data/cache:/root/.cache/restic
     env_file: .env