mirror of
https://github.com/atoy3731/adguard-sync.git
synced 2024-09-20 06:56:01 +08:00
20 lines
491 B
YAML
20 lines
491 B
YAML
version: "3"
|
|
|
|
services:
|
|
adguard-sync:
|
|
image: atoy3731/adguard-sync:latest
|
|
container_name: adguard-sync
|
|
|
|
restart: always
|
|
environment:
|
|
# Required variables
|
|
- ADGUARD_PRIMARY=http://dns01.example.com
|
|
- ADGUARD_SECONDARY=http://dns02.example.com
|
|
- ADGUARD_USER=admin
|
|
- ADGUARD_PASS=password
|
|
|
|
# Optional variables
|
|
# - SECONDARY_ADGUARD_USER=other_admin
|
|
# - SECONDARY_ADGUARD_PASS=other_password
|
|
# - REFRESH_INTERVAL_SECS=10
|