Skip to content

Repository files navigation

banner

ADGUARD-SYNC

size5pxpulls5px5pxswiss_made

run adguard-sync rootless and distroless.

INTRODUCTION 📢

Synchronize AdGuard Home config to replicas

API

SYNOPSIS 📖

What can I do with this? If you want to run 11notes/adguard high-available you need something to synchronize the settings between the two or more instances. adguardhome-sync solves this issue by copying all settings from a master to infinite slaves. This image provides this functionality to you, rootless and distroless.

UNIQUE VALUE PROPOSITION 💶

Why should I run this image and not the other image(s) that already exist? Good question! Because ...

Important

  • ... this image runs rootless as 1000:1000
  • ... this image has no shell since it is distroless
  • ... this image is auto updated to the latest version via CI/CD
  • ... this image has a health check
  • ... this image runs read-only
  • ... this image is automatically scanned for CVEs before and after publishing
  • ... this image is created via a secure and pinned CI/CD process
  • ... this image is very small

If you value security, simplicity and optimizations to the extreme, then this image might be for you.

COMPARISON 🏁

Below you find a comparison between this image and the most used or original one.

imagesize on diskinit default asdistrolesssupported architectures
11notes/adguard-sync21MB1000:1000amd64, arm64, armv7
linuxserver/adguardhome-sync49MB0:0amd64, arm64

DEFAULT CONFIG 📑

cron: "*/15 * * * *"runOnStart: truecontinueOnError: falseorigin:
url: http://adguard-master:3000username: adminpassword: adguardreplicas:
- url: http://adguard-slave:3000username: adminpassword: adguardapi:
port: 3000username: adminpassword: adguarddarkMode: truemetrics:
enabled: truescrapeInterval: 10squeryLogLimit: 10000features:
generalSettings: truequeryLogConfig: truestatsConfig: trueclientSettings: trueservices: truefilters: truedhcp:
serverConfig: truestaticLeases: truedns:
serverConfig: trueaccessLists: truerewrites: true

VOLUMES 📁

  • /adguard-sync/etc - Directory of the configuration file

COMPOSE ✂️

name: "adguard-sync"services:
adguard-sync:
depends_on:
adguard-master:
condition: "service_healthy"restart: trueadguard-slave:
condition: "service_healthy"restart: trueimage: "11notes/adguard-sync:0.9.2"read_only: truesecurity_opt:
no-new-privileges: trueenvironment:
TZ: "Europe/Zurich"volumes:
- "adguard-sync.etc:/adguard-sync/etc"ports:
- "3000:3000/tcp"networks:
frontend:
restart: "always"adguard-master:
image: "11notes/adguard:0.107.63"environment:
TZ: "Europe/Zurich"ports:
- "1053:53/udp"
- "1053:53/tcp"
- "3001:3000/tcp"networks:
frontend:
restart: "always"adguard-slave:
image: "11notes/adguard:0.107.63"environment:
TZ: "Europe/Zurich"ports:
- "2053:53/udp"
- "2053:53/tcp"
- "3002:3000/tcp"networks:
frontend:
restart: "always"volumes:
adguard-sync.etc:
networks:
frontend:

To find out how you can change the default UID/GID of this container image, consult the RTFM.

DEFAULT SETTINGS 🗃️

ParameterValueDescription
userdockeruser name
uid1000user identifier
gid1000group identifier
home/adguard-synchome directory of user docker
API loginadmin // adguardlogin using default config

ENVIRONMENT 📝

ParameterValueDefault
TZTime Zone
DEBUGWill activate debug option for container image and app (if available)

MAIN TAGS 🏷️

These are the main tags for the image. There is also a tag for each commit and its shorthand sha256 value.

There is no latest tag, what am I supposed to do about updates?

It is my opinion that the :latest tag is a bad habbit and should not be used at all. Many developers introduce breaking changes in new releases. This would messed up everything for people who use :latest. If you don’t want to change the tag to the latest semver, simply use the short versions of semver. Instead of using :0.9.2 you can use :0 or :0.9. Since on each new version these tags are updated to the latest version of the software, using them is identical to using :latest but at least fixed to a major or minor version. Which in theory should not introduce breaking changes.

If you still insist on having the bleeding edge release of this app, simply use the :rolling tag, but be warned! You will get the latest version of the app instantly, regardless of breaking changes or security issues or what so ever. You do this at your own risk!

REGISTRIES ☁️

docker pull 11notes/adguard-sync:0.9.2
docker pull ghcr.io/11notes/adguard-sync:0.9.2
docker pull quay.io/11notes/adguard-sync:0.9.2

UNRAID VERSION 🟠

This image supports unraid by default. Simply add -unraid to any tag and the image will run as 99:100 instead of 1000:1000.

NOBODY VERSION 👻

This image supports nobody by default. Simply add -nobody to any tag and the image will run as 65534:65534 instead of 1000:1000.

SOURCE 💾

PARENT IMAGE 🏛️

Important

This image is not based on another image but uses scratch as the starting layer. The image consists of the following distroless layers that were added:

BUILT WITH 🧰

GENERAL TIPS 📌

Tip

  • Use a reverse proxy like Traefik, Nginx, HAproxy to terminate TLS and to protect your endpoints
  • Use Let’s Encrypt DNS-01 challenge to obtain valid SSL certificates for your services

CAUTION ⚠️

Caution

  • This image comes with a default configuration with a default password for the admin account. Please set your own password or provide your own configuration

ElevenNotes™️

This image is provided to you at your own risk. Always make backups before updating an image to a different version. Check the releases for breaking changes. If you have any problems with using this image simply raise an issue, thanks. If you have a question or inputs please create a new discussion instead of an issue. You can find all my other repositories on github.

created 25.06.2026, 06:03:32 (CET)

About

run adguard-sync rootless and distroless.

Resources

Stars

14 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages