Add volume and back it up too
This commit is contained in:
parent
bf317b00ac
commit
e5fff4040c
|
@ -1,5 +1,6 @@
|
|||
location:
|
||||
source_directories: []
|
||||
source_directories:
|
||||
- /var/www/html/wp-content
|
||||
repositories:
|
||||
- {{ env "BORGBASE_REPO" }}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in New Issue