configure Rclone backup and cleanup services to use the public network in docker-compose.yml
All checks were successful
Portainer Stack Update / update_stack (push) Successful in 8s
All checks were successful
Portainer Stack Update / update_stack (push) Successful in 8s
This commit is contained in:
parent
16363a8097
commit
d41d9ac752
@ -126,6 +126,8 @@ services:
|
|||||||
image: rclone/rclone:latest
|
image: rclone/rclone:latest
|
||||||
entrypoint: ""
|
entrypoint: ""
|
||||||
command: /bin/sh -c 'rclone sync /data GDrive:Backups/immich/full_backup --backup-dir=GDrive:Backups/immich/archive/$(date +%Y-%m-%d) --progress'
|
command: /bin/sh -c 'rclone sync /data GDrive:Backups/immich/full_backup --backup-dir=GDrive:Backups/immich/archive/$(date +%Y-%m-%d) --progress'
|
||||||
|
networks:
|
||||||
|
- public
|
||||||
volumes:
|
volumes:
|
||||||
- data:/data:ro
|
- data:/data:ro
|
||||||
secrets:
|
secrets:
|
||||||
@ -143,6 +145,8 @@ services:
|
|||||||
rclone-cleanup:
|
rclone-cleanup:
|
||||||
image: rclone/rclone:latest
|
image: rclone/rclone:latest
|
||||||
command: delete GDrive:Backups/immich/archive --min-age 60d --rmdirs --progress --dry-run
|
command: delete GDrive:Backups/immich/archive --min-age 60d --rmdirs --progress --dry-run
|
||||||
|
networks:
|
||||||
|
- public
|
||||||
volumes:
|
volumes:
|
||||||
- data:/data:ro
|
- data:/data:ro
|
||||||
secrets:
|
secrets:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user