bertrand revised this gist . Go to revision
1 file changed, 1 insertion, 1 deletion
gistfile1.txt
| @@ -7,7 +7,7 @@ services: | |||
| 7 | 7 | TZ: Europe/Paris | |
| 8 | 8 | PUID: 1028 | |
| 9 | 9 | PGID: 100 | |
| 10 | - | PORTAINER_BACKUP_URL: "http://192.168.1.20:9000" | |
| 10 | + | PORTAINER_BACKUP_URL: "http://<IP FOR THE NAS>:9000" # To be replaced by the IP of your NAS | |
| 11 | 11 | PORTAINER_BACKUP_TOKEN: <PORTAINER_TOKEN> # To be replaced by your token | |
| 12 | 12 | PORTAINER_BACKUP_SCHEDULE: "0 0 0,12 * * *" | |
| 13 | 13 | PORTAINER_BACKUP_STACKS: true | |
bertrand revised this gist . Go to revision
1 file changed, 1 insertion, 1 deletion
gistfile1.txt
| @@ -14,4 +14,4 @@ services: | |||
| 14 | 14 | PORTAINER_BACKUP_OVERWRITE: true | |
| 15 | 15 | command: "schedule" | |
| 16 | 16 | volumes: | |
| 17 | - | - <PATH TO SAVE BACKUP>:/backup:rw #Must be replaced by your path to nackup filee | |
| 17 | + | - <PATH TO SAVE BACKUP>:/backup:rw # Must be replaced by your path to backup filee | |
bertrand revised this gist . Go to revision
1 file changed, 17 insertions
gistfile1.txt(file created)
| @@ -0,0 +1,17 @@ | |||
| 1 | + | version: "3.9" | |
| 2 | + | services: | |
| 3 | + | backup: | |
| 4 | + | container_name: portainer-backup | |
| 5 | + | image: savagesoftware/portainer-backup:latest | |
| 6 | + | environment: | |
| 7 | + | TZ: Europe/Paris | |
| 8 | + | PUID: 1028 | |
| 9 | + | PGID: 100 | |
| 10 | + | PORTAINER_BACKUP_URL: "http://192.168.1.20:9000" | |
| 11 | + | PORTAINER_BACKUP_TOKEN: <PORTAINER_TOKEN> # To be replaced by your token | |
| 12 | + | PORTAINER_BACKUP_SCHEDULE: "0 0 0,12 * * *" | |
| 13 | + | PORTAINER_BACKUP_STACKS: true | |
| 14 | + | PORTAINER_BACKUP_OVERWRITE: true | |
| 15 | + | command: "schedule" | |
| 16 | + | volumes: | |
| 17 | + | - <PATH TO SAVE BACKUP>:/backup:rw #Must be replaced by your path to nackup filee | |