Updates: 2026-03-03T00:19:27.661Z
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
|
||||
services:
|
||||
rclone:
|
||||
image: rclone/rclone:latest
|
||||
container_name: rclone-sync
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: wget --spider https://www.google.com/generate_204 && wget --spider http://localhost:5572 || exit 1
|
||||
start_period: 60s
|
||||
interval: 30s
|
||||
environment:
|
||||
- PUID=1026 # Replace with your Synology User ID
|
||||
- PGID=100 # Replace with your Synology Group ID
|
||||
- TZ=Europe/Dublin
|
||||
volumes:
|
||||
- /volume1/docker/rclone/config:/config/rclone
|
||||
- /volume1:/data:ro # Mounts your entire NAS as Read-Only for safety
|
||||
- /volume2:/data2:ro
|
||||
|
||||
command: rcd --rc-serve --rc-addr :5572 --rc-no-auth
|
||||
ports:
|
||||
- 5572:5572
|
||||
|
||||
Reference in New Issue
Block a user