Add volume and back it up too

This commit is contained in:
Luke Murphy 2020-09-22 09:29:24 +02:00
parent bf317b00ac
commit e5fff4040c
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,6 @@
location:
source_directories: []
source_directories:
- /var/www/html/wp-content
repositories:
- {{ env "BORGBASE_REPO" }}

View File

@ -52,6 +52,8 @@ services:
image: "decentral1se/backup-bot:0.0.1"
networks:
- backend
volumes:
- "wordpress_content:/var/www/html/wp-content/"
secrets:
- source: backup_bot_ssh_key
mode: 0400