路由iStoreOSDockerBackrest使用 Backrest 备份服务Mus2026-06-212026-07-01使用 Docker-compose 部署 123456789101112131415161718192021222324252627282930services: backrest: image: docker.1ms.run/garethgeorge/backrest:latest container_name: backrest hostname: backrest restart: unless-stopped environment: BACKREST_PORT: "9898" BACKREST_DATA: "/data" BACKREST_CONFIG: "/config/config.json" XDG_CACHE_HOME: "/cache" TMPDIR: "/tmp" TZ: Asia/Shanghai volumes: # Backrest - /root/backrest/data:/data - /root/backrest/config:/config - /root/backrest/cache:/cache - /root/backrest/tmp:/tmp # 设置你的备份文件保存目录。这里设置大目录方便软件内备份 - /root:/root networks: DockerBridge: ipv4_address: 172.20.0.8networks: DockerBridge: external: true