Refactor Docker Compose configurations and add deployment workflows for cloud-pc and mini-pc services
Deploy cloud-pc / deploy (push) Failing after 15s
Deploy mini-pc / deploy (push) Failing after 4s
Deploy ru-vps / deploy (push) Failing after 5s

This commit is contained in:
Dmitry
2026-05-27 15:41:15 +03:00
parent 90128b237d
commit dc3ff78d6d
39 changed files with 603 additions and 29 deletions
+55
View File
@@ -0,0 +1,55 @@
version = "1"
[global]
scheduler = "systemd"
# ── Общие настройки ────────────────────────────────────────────────────────────
[default]
password-file = "/etc/restic/password"
initialize = true
[default.forget]
keep-daily = 7
keep-weekly = 4
keep-monthly = 6
schedule-permission = "system"
schedule-after-backup = true
prune = true
[default.check]
schedule = "Sun 04:00"
schedule-permission = "system"
# ── Данные и конфиги сервисов ─────────────────────────────────────────────────
[services]
inherit = "default"
repository = "/mnt/backup/restic/services"
[services.backup]
source = ["/opt/data", "/opt/configs"]
tag = ["cloud-pc", "services"]
exclude-caches = true
one-file-system = true
schedule = "02:00"
schedule-permission = "system"
schedule-log = "/var/log/resticprofile/services.log"
[services.forget]
schedule = "02:30"
# ── Samba-шара ────────────────────────────────────────────────────────────────
[samba]
inherit = "default"
repository = "/mnt/backup/restic/samba"
[samba.backup]
source = ["/opt/samba"]
tag = ["cloud-pc", "samba"]
exclude-caches = true
one-file-system = true
schedule = "03:00"
schedule-permission = "system"
schedule-log = "/var/log/resticprofile/samba.log"
[samba.forget]
schedule = "03:30"