- Notifications
You must be signed in to change notification settings - Fork1
xfathurrahman/tailguard
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
- Auto Backup AdguardHome Configuration to s3 compatible storage (Restic)
- Get Mail Notification when Backup is failed
- Connect from anywhere using Tailscale private network
- Launch the app
fly launch --no-deploy
- I recommended to use 2GB of memory for this app
- 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=tailguardTAILSCALE_DNS=mother-father.ts.netTAILSCALE_AUTHKEY=tskey-auth-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxSMTP_HOST=smtp.resend.comSMTP_PORT=587SMTP_USERNAME=resendSMTP_FROM=support@fathur.devSMTP_TO=info@fathur.devSMTP_PASSWORD=xxxxxxxxxxxx / apikeyRESTIC_REPOSITORY=s3://xxxxxxxxxxxxxxxxxxxxx.r2/s3/bz.cloudflarestorage.com/backup/adguardRESTIC_PASSWORD=xxxxxxxxxxxxxxxxAWS_ACCESS_KEY_ID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxAWS_SECRET_ACCESS_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- for mail i'm usingResend.com you can use your own smtp server
- for s3 compatible storage i'm usingCloudflare R2 you can use your own s3 compatible storage
- for tailscale you can get the authkey fromTailscale
- Set the env variables to the fly.io secrets
cat .env| fly secrets import
- Deploy the app
fly deploy