4.1.1 АУДИТ «ОДНА ДВЕРЬ». Есть 13 прокси входа (oauth2-proxy): Plex, Paperless, Calibre, Dashy, Tautulli, Overseerr, Bazarr, Prowlarr, Radarr, Sonarr, Vaultwarden, FreshRSS, Jellyfin. Дома часть доменов через них ходит. НА VPS — НИ ОДИН: все домены снаружи идут напрямую в службу, минуя вход. ПРИЧИНА: у прокси прописаны ВНУТРЕННИЕ адреса (REDIRECT_URL=http://192.168.1.117:9989/..., OIDC_ISSUER_URL= http://192.168.1.114:9000/...). Снаружи браузер перенаправляется на внутренний адрес, недоступный из интернета, — вход не может завершиться. Похоже, обходной путь был такой: снаружи пустить напрямую. ВАЖНО: это НЕ дыра. У Sonarr/Radarr/Prowlarr свои пароли, у Plex свой аккаунт, у Vaultwarden свой мастер-пароль. Это отсутствие единого входа, риск умеренный, срочности нет. НЕ СДЕЛАНО СЕЙЧАС ОСОЗНАННО: изменение доступа сразу к 13 службам; ошибка означает, что вход перестанет работать у всех, а владелец сейчас не может проверить. Заведено задачей 4.1.3, начинать с одного домена. 5.6 ЗАПИСЬ В БАЗЫ МЕДИАСЛУЖБ: Sonarr 17 МБ, Radarr 12 МБ, Prowlarr 9 МБ, Bazarr 9 МБ — 0 ошибок записи в журналах, службы отвечают. ПОПУТНО: диски CT 117-119 были заполнены на 79-80% (меньше 1 ГБ свободно). Освобождено безопасно: неиспользуемые образы Docker (214+227+ 202 МБ). Стало 69-70%, свободно по 1,2 ГБ. Службы проверены — 200. Диски по 3,9 ГБ всё равно малы: предложено увеличить до 8 ГБ отдельной операцией.
465 lines
9.9 KiB
YAML
465 lines
9.9 KiB
YAML
services:
|
|
npm:
|
|
ct_id: 101
|
|
compose_path: /opt/npm
|
|
healthcheck:
|
|
url: http://192.168.1.101:81/api/
|
|
timeout: 10
|
|
retries: 3
|
|
critical: true
|
|
backup: snapshot
|
|
container: npm-app-1
|
|
authentik:
|
|
ct_id: 114
|
|
wait: 300
|
|
compose_path: /opt/authentik-security
|
|
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
|
|
wait: 300
|
|
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/files-lxc
|
|
healthcheck:
|
|
url: http://192.168.1.109:8081/alive
|
|
timeout: 10
|
|
retries: 3
|
|
critical: true
|
|
backup: snapshot
|
|
container: vaultwarden
|
|
matrix:
|
|
ct_id: 155
|
|
wait: 480
|
|
compose_path: /opt/matrix
|
|
healthcheck:
|
|
url: http://192.168.1.155:8008/_matrix/client/versions
|
|
timeout: 15
|
|
retries: 3
|
|
critical: true
|
|
backup: snapshot
|
|
container: matrix-synapse
|
|
n8n:
|
|
ct_id: 108
|
|
compose_path: /opt/automation-lxc
|
|
healthcheck:
|
|
url: http://192.168.1.108:5678/healthz
|
|
timeout: 15
|
|
retries: 3
|
|
critical: true
|
|
backup: snapshot
|
|
container: n8n
|
|
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/network-lxc
|
|
healthcheck:
|
|
url: http://192.168.1.107:3001/api/entry-page
|
|
timeout: 10
|
|
retries: 3
|
|
critical: false
|
|
backup: snapshot
|
|
container: uptime_kuma
|
|
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
|
|
paperless:
|
|
ct_id: 105
|
|
wait: 480
|
|
compose_path: /opt/sync-lxc
|
|
healthcheck:
|
|
url: http://192.168.1.105:8000/api/status/
|
|
timeout: 20
|
|
retries: 15
|
|
auth_required: true
|
|
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
|
|
auth_required: true
|
|
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
|
|
auth_required: true
|
|
critical: false
|
|
backup: snapshot
|
|
container: linkding
|
|
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
|
|
auth_required: true
|
|
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
|
|
auth_required: true
|
|
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
|
|
auth_required: true
|
|
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
|
|
auth_required: true
|
|
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
|
|
calibre:
|
|
ct_id: 111
|
|
compose_path: /opt/calibre-web
|
|
healthcheck:
|
|
url: http://192.168.1.240:8083/
|
|
timeout: 10
|
|
retries: 3
|
|
auth_required: true
|
|
critical: false
|
|
backup: snapshot
|
|
container: calibre-web
|
|
freshrss:
|
|
ct_id: 111
|
|
compose_path: /opt/freshrss
|
|
healthcheck:
|
|
url: http://192.168.1.240:8090/
|
|
timeout: 10
|
|
retries: 3
|
|
auth_required: true
|
|
critical: false
|
|
backup: snapshot
|
|
container: freshrss
|
|
mealie:
|
|
ct_id: 110
|
|
compose_path: /opt/lifestyle-lxc
|
|
healthcheck:
|
|
url: http://192.168.1.110:9925/api/app/about
|
|
timeout: 10
|
|
retries: 3
|
|
critical: false
|
|
backup: snapshot
|
|
container: mealie
|
|
postgres-rbac:
|
|
ct_id: 151
|
|
type: native
|
|
critical: true
|
|
backup: pgdump
|
|
headscale:
|
|
ct_id: 201
|
|
type: native
|
|
critical: false
|
|
backup: snapshot
|
|
openclaw:
|
|
ct_id: 115
|
|
compose_path: /opt/openclaw
|
|
healthcheck:
|
|
timeout: 10
|
|
retries: 3
|
|
url: http://192.168.1.115:18789/healthz
|
|
critical: false
|
|
backup: snapshot
|
|
container: openclaw
|
|
homeassistant:
|
|
ct_id: 106
|
|
wait: 300
|
|
compose_path: /opt/smart-lxc
|
|
healthcheck:
|
|
url: http://192.168.1.106:8123/
|
|
timeout: 15
|
|
retries: 10
|
|
critical: true
|
|
backup: snapshot
|
|
container: homeassistant
|
|
mosquitto:
|
|
ct_id: 106
|
|
wait: 60
|
|
compose_path: /opt/smart-lxc
|
|
critical: false
|
|
backup: snapshot
|
|
container: mosquitto
|
|
zigbee2mqtt:
|
|
ct_id: 106
|
|
wait: 120
|
|
compose_path: /opt/smart-lxc
|
|
healthcheck:
|
|
url: http://192.168.1.106:8080/
|
|
timeout: 15
|
|
retries: 10
|
|
critical: false
|
|
backup: snapshot
|
|
container: zigbee2mqtt
|
|
adguard:
|
|
ct_id: 107
|
|
healthcheck:
|
|
url: http://192.168.1.107:3000/control/status
|
|
timeout: 15
|
|
retries: 10
|
|
auth_required: true
|
|
accept_codes: 200 302 401
|
|
wait: 120
|
|
compose_path: /opt/network-lxc
|
|
critical: true
|
|
backup: snapshot
|
|
container: adguard
|
|
tg-admin-bot:
|
|
ct_id: 108
|
|
wait: 60
|
|
compose_path: /opt/automation-lxc/telegram-admin-bot
|
|
critical: false
|
|
backup: snapshot
|
|
container: tg-admin-bot
|
|
nextcloud:
|
|
ct_id: 109
|
|
wait: 300
|
|
compose_path: /opt/files-lxc
|
|
healthcheck:
|
|
url: http://192.168.1.109:8080/status.php
|
|
timeout: 15
|
|
retries: 10
|
|
accept_codes: 200 302
|
|
critical: true
|
|
backup: snapshot
|
|
container: nextcloud
|
|
files_db:
|
|
ct_id: 109
|
|
wait: 120
|
|
compose_path: /opt/files-lxc
|
|
critical: true
|
|
backup: snapshot
|
|
container: files_db
|
|
firefly:
|
|
ct_id: 110
|
|
wait: 120
|
|
compose_path: /opt/lifestyle-lxc
|
|
healthcheck:
|
|
url: http://192.168.1.110:8080/
|
|
timeout: 15
|
|
retries: 10
|
|
accept_codes: 200 302
|
|
critical: false
|
|
backup: snapshot
|
|
container: firefly
|
|
duplicati:
|
|
ct_id: 111
|
|
wait: 120
|
|
healthcheck:
|
|
url: http://192.168.1.240:8200/
|
|
timeout: 15
|
|
retries: 10
|
|
accept_codes: 200 302
|
|
critical: true
|
|
backup: snapshot
|
|
container: duplicati
|
|
loki:
|
|
ct_id: 113
|
|
wait: 120
|
|
compose_path: /opt/loki
|
|
healthcheck:
|
|
url: http://192.168.1.113:3100/ready
|
|
timeout: 15
|
|
retries: 10
|
|
accept_codes: 200 404
|
|
critical: false
|
|
backup: snapshot
|
|
container: loki
|
|
nats:
|
|
ct_id: 115
|
|
wait: 60
|
|
compose_path: /opt/swarm
|
|
healthcheck:
|
|
url: http://192.168.1.115:8222/healthz
|
|
timeout: 15
|
|
retries: 10
|
|
critical: true
|
|
backup: snapshot
|
|
container: nats
|
|
swarm-redis:
|
|
ct_id: 115
|
|
wait: 60
|
|
compose_path: /opt/swarm
|
|
critical: true
|
|
backup: snapshot
|
|
container: swarm-redis
|
|
alertmanager:
|
|
ct_id: 134
|
|
wait: 120
|
|
healthcheck:
|
|
url: http://192.168.1.134:9093/-/healthy
|
|
timeout: 15
|
|
retries: 10
|
|
critical: true
|
|
backup: snapshot
|
|
container: alertmanager
|
|
buryan-alert-webhook:
|
|
ct_id: 134
|
|
wait: 60
|
|
critical: false
|
|
backup: snapshot
|
|
container: buryan-alert-webhook
|
|
paperless_redis_files:
|
|
ct_id: 105
|
|
wait: 60
|
|
compose_path: /opt/sync-lxc
|
|
critical: false
|
|
backup: snapshot
|
|
container: paperless_redis
|
|
mautrix-telegram:
|
|
ct_id: 155
|
|
wait: 180
|
|
compose_path: /opt/mautrix-telegram
|
|
critical: false
|
|
backup: snapshot
|
|
container: mautrix-telegram
|
|
element-web:
|
|
ct_id: 155
|
|
wait: 120
|
|
compose_path: /opt/element
|
|
healthcheck:
|
|
url: http://192.168.1.155:8088/
|
|
timeout: 15
|
|
retries: 10
|
|
critical: false
|
|
backup: snapshot
|
|
container: element-web
|
|
livekit:
|
|
ct_id: 155
|
|
wait: 120
|
|
compose_path: /opt/livekit
|
|
healthcheck:
|
|
url: http://192.168.1.155:7880/
|
|
timeout: 15
|
|
retries: 10
|
|
critical: true
|
|
backup: snapshot
|
|
container: livekit
|
|
matrix-coturn:
|
|
ct_id: 155
|
|
wait: 120
|
|
compose_path: /opt/matrix
|
|
critical: true
|
|
backup: snapshot
|
|
container: matrix-coturn
|