mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-08-27 05:23:56 +02:00
- Add an offlineHosts list to VictoriaMetrics scrape generation: SBCs and the whole k3s-prod-1 cluster are powered off, shoukei's exporter is disabled on the machine; also comment out the dnsmasq-exporter job (runs on suzi). - Disable node-exporter on shoukei: a laptop on untrusted networks should not expose :9100 (the firewall is off repo-wide). - Route severity none|info alerts to the null receiver; meta alerts and info noise should never page. Signed-off-by: Ryan Yin <xiaoyin_c@qq.com>
Idols - Aquamarine
Storage, operation and maintenance related services are running on this host:
- Storage such as git server, file server/browser, torrent downloader,, etc.
- Backup or sync my personal data to cloud or NAS.
- For safety, those data should be encrypted before sending to the cloud or my NAS.
- Collect and monitor the metrics/logs of my homelab.
Features
Services:
- prometheus + alertmanager + grafana + loki: Monitor the metrics/logs of my homelab.
- restic: Backup my personal data to cloud or NAS.
- synthing: Sync file between android/macbook/PC and NAS.
- gitea: Self-hosted git service.
- sftpgo: SFTP server.
- transmission & AriaNg: Torrent downloader and HTTP downloader
- alist/filebrower: File browser for local/SMB/Cloud
All the services assumes a reverse proxy to be setup in the front, they are all listening on localhost, and a caddy service is listening on the local network interface and proxy the requests to the services.