Add volume and back it up too
This commit is contained in:
parent
bf317b00ac
commit
e5fff4040c
|
@ -1,5 +1,6 @@
|
||||||
location:
|
location:
|
||||||
source_directories: []
|
source_directories:
|
||||||
|
- /var/www/html/wp-content
|
||||||
repositories:
|
repositories:
|
||||||
- {{ env "BORGBASE_REPO" }}
|
- {{ env "BORGBASE_REPO" }}
|
||||||
|
|
||||||
|
|
|
@ -52,6 +52,8 @@ services:
|
||||||
image: "decentral1se/backup-bot:0.0.1"
|
image: "decentral1se/backup-bot:0.0.1"
|
||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
|
volumes:
|
||||||
|
- "wordpress_content:/var/www/html/wp-content/"
|
||||||
secrets:
|
secrets:
|
||||||
- source: backup_bot_ssh_key
|
- source: backup_bot_ssh_key
|
||||||
mode: 0400
|
mode: 0400
|
||||||
|
|
Reference in New Issue