Files
buryan-infra/ops/update-manager/services.yaml
T

285 lines
6.4 KiB
YAML

# Реестр сервисов для Update Manager (полный спектр)
# Поле 'critical' определяет приоритет отката
# 'type': docker (по умолчанию) | native (apt/binary)
services:
# === КРИТИЧЕСКАЯ ИНФРАСТРУКТУРА ===
npm:
ct_id: 101
compose_path: /opt/npm
healthcheck:
url: http://192.168.1.101:81/api/nginx/proxy-hosts
timeout: 10
retries: 3
critical: true
backup: snapshot
container: npm-app-1
authentik:
ct_id: 114
compose_path: /opt/authentik
healthcheck:
url: http://192.168.1.114:9000/-/health/live/
timeout: 15
retries: 3
critical: true
backup: snapshot
container: authentik-security-server-1
gitea:
ct_id: 140
compose_path: /opt/gitea
healthcheck:
url: http://192.168.1.140:3000/api/v1/version
timeout: 15
retries: 3
critical: true
backup: snapshot
container: gitea
vaultwarden:
ct_id: 109
compose_path: /opt/vaultwarden
healthcheck:
url: http://192.168.1.109:8081/alive
timeout: 10
retries: 3
critical: true
backup: snapshot
container: vaultwarden
matrix:
ct_id: 155
compose_path: /opt/matrix
healthcheck:
url: http://192.168.1.155:8008/health
timeout: 15
retries: 3
critical: true
backup: snapshot
container: matrix-synapse
# === АВТОМАТИЗАЦИЯ ===
n8n:
ct_id: 108
compose_path: /opt/n8n
healthcheck:
url: http://192.168.1.108:5678/healthz
timeout: 15
retries: 3
critical: true
backup: snapshot
container: n8n
# === MONITORING & UTILS ===
prometheus:
ct_id: 134
compose_path: /opt/prometheus
healthcheck:
url: http://192.168.1.134:9090/-/healthy
timeout: 10
retries: 3
critical: false
backup: snapshot
container: prometheus
grafana:
ct_id: 113
compose_path: /opt/grafana
healthcheck:
url: http://192.168.1.113:3000/api/health
timeout: 10
retries: 3
critical: false
backup: snapshot
container: grafana
uptime-kuma:
ct_id: 107
compose_path: /opt/uptime-kuma
healthcheck:
url: http://192.168.1.107:3001/api/status-page/heartbeat
timeout: 10
retries: 3
critical: false
backup: snapshot
container: uptime_kuma
# === PORTAL & DASHBOARDS ===
dashy:
ct_id: 102
compose_path: /opt/dashy
healthcheck:
url: http://192.168.1.102:8080/
timeout: 10
retries: 3
critical: false
backup: snapshot
container: dashy
# === FILES & DOCS ===
paperless:
ct_id: 105
compose_path: /opt/paperless
healthcheck:
url: http://192.168.1.105:8000/api/status/
timeout: 15
retries: 3
critical: false
backup: snapshot
container: paperless
syncthing:
ct_id: 139
compose_path: /opt/syncthing
healthcheck:
url: http://192.168.1.139:8384/rest/system/version
timeout: 10
retries: 3
critical: false
backup: snapshot
container: syncthing
linkding:
ct_id: 127
compose_path: /opt/linkding
healthcheck:
url: http://192.168.1.127:3000/
timeout: 10
retries: 3
critical: false
backup: snapshot
container: linkding
# === MEDIA STACK ===
jellyfin:
ct_id: 103
compose_path: /opt/jellyfin
healthcheck:
url: http://192.168.1.103:8096/health
timeout: 10
retries: 3
critical: false
backup: snapshot
container: jellyfin
plex:
ct_id: 116
compose_path: /opt/plex
healthcheck:
url: http://192.168.1.116:32400/identity
timeout: 10
retries: 3
critical: false
backup: snapshot
container: plex
sonarr:
ct_id: 117
compose_path: /opt/sonarr
healthcheck:
url: http://192.168.1.117:8989/api/v3/system/status
timeout: 10
retries: 3
critical: false
backup: snapshot
container: sonarr
radarr:
ct_id: 118
compose_path: /opt/radarr
healthcheck:
url: http://192.168.1.118:7878/api/v3/system/status
timeout: 10
retries: 3
critical: false
backup: snapshot
container: radarr
prowlarr:
ct_id: 119
compose_path: /opt/prowlarr
healthcheck:
url: http://192.168.1.119:9696/api/v1/system/status
timeout: 10
retries: 3
critical: false
backup: snapshot
container: prowlarr
bazarr:
ct_id: 120
compose_path: /opt/bazarr
healthcheck:
url: http://192.168.1.120:6767/api/system/status
timeout: 10
retries: 3
critical: false
backup: snapshot
container: bazarr
overseerr:
ct_id: 121
compose_path: /opt/overseerr
healthcheck:
url: http://192.168.1.121:5055/api/v1/status
timeout: 10
retries: 3
critical: false
backup: snapshot
container: overseerr
tautulli:
ct_id: 122
compose_path: /opt/tautulli
healthcheck:
url: http://192.168.1.122:8181/status
timeout: 10
retries: 3
critical: false
backup: snapshot
container: tautulli
navidrome:
ct_id: 125
compose_path: /opt/navidrome
healthcheck:
url: http://192.168.1.125:4533/ping
timeout: 10
retries: 3
critical: false
backup: snapshot
container: navidrome
# === READING & FINANCE ===
calibre:
ct_id: 111
compose_path: /opt/calibre-web
healthcheck:
url: http://192.168.1.111:8083/
timeout: 10
retries: 3
critical: false
backup: snapshot
container: calibre-web
freshrss:
ct_id: 111
compose_path: /opt/freshrss
healthcheck:
url: http://192.168.1.111:8090/
timeout: 10
retries: 3
critical: false
backup: snapshot
container: freshrss
mealie:
ct_id: 110
compose_path: /opt/mealie
healthcheck:
url: http://192.168.1.110:9925/api/app/about
timeout: 10
retries: 3
critical: false
backup: snapshot
container: mealie
# === NATIVE SERVICES (не Docker, apt-based) ===
postgres-rbac:
ct_id: 151
type: native
critical: true
backup: pgdump # pg_dump всей БД перед обновлением
headscale:
ct_id: 201
type: native
critical: false
backup: snapshot
# === EXPERIMENTAL ===
openclaw:
ct_id: 115
compose_path: /opt/openclaw
healthcheck:
url: http://192.168.1.115:8080/
timeout: 10
retries: 3
critical: false
backup: snapshot
container: openclaw