Skip to content
项目

关于

将 AdGuard Home 部署到 fly.io,通过 Tailscale 接入私有网络,并备份到兼容 S3 的存储。

系统与基础设施

这些数字如何统计

可以做什么

  • Auto Backup AdguardHome Configuration to s3 compatible storage (Restic)
  • Get Mail Notification when Backup is failed
  • Connect from anywhere using Tailscale private network

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Flyio - AdguardHome - Tailscale

Add-on Features

  • Auto Backup AdguardHome Configuration to s3 compatible storage (Restic)
  • Get Mail Notification when Backup is failed
  • Connect from anywhere using Tailscale private network

Installation

  1. Launch the app
fly launch --no-deploy
  • I recommended to use 2GB of memory for this app
  1. Fill the env variables with your own values
  • copy the .env.example to .env and fill the values

your final .env file should look like this:


TAILSCALE_HOSTNAME=tailguard
TAILSCALE_DNS=mother-father.ts.net
TAILSCALE_AUTHKEY=tskey-auth-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
SMTP_HOST=smtp.resend.com
SMTP_PORT=587
SMTP_USERNAME=resend
[email protected]
[email protected]
SMTP_PASSWORD=xxxxxxxxxxxx / apikey
RESTIC_REPOSITORY=s3://xxxxxxxxxxxxxxxxxxxxx.r2/s3/bz.cloudflarestorage.com/backup/adguard
RESTIC_PASSWORD=xxxxxxxxxxxxxxxx
AWS_ACCESS_KEY_ID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
AWS_SECRET_ACCESS_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  • for mail i'm using Resend.com you can use your own smtp server
  • for s3 compatible storage i'm using Cloudflare R2 you can use your own s3 compatible storage
  • for tailscale you can get the authkey from Tailscale
  1. Set the env variables to the fly.io secrets
cat .env | fly secrets import
  1. Deploy the app
fly deploy

探索相关项目

加载中…