Skip to content

AdguardHome with tailscale private network deploy to fly.io and backup to s3 compatible storage

Notifications You must be signed in to change notification settings

xfathurrahman/tailguard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
SMTP_FROM=support@fathur.dev
SMTP_TO=info@fathur.dev
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

About

AdguardHome with tailscale private network deploy to fly.io and backup to s3 compatible storage

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published