mirror of
https://github.com/bakito/adguardhome-sync.git
synced 2024-09-20 14:56:13 +08:00
4c1e56ccce
* correct config issues #271 #272 * rename type tags * replace env lib * move to config module * read flags * show e2e logs on error * extract env * replace deprecated env var * increment index * check replica numbers do not start with 0 * remove test suite * error handling * refactor flags * flags test * file test * file test * config tests * extend tests * test mixed mode * simplify * simplify * test mask * correct uniqe replicas * Update types_test.go * e2e test with file mode
46 lines
945 B
YAML
46 lines
945 B
YAML
origin:
|
|
url: https://origin-file:443
|
|
webURL: https://origin-file:443
|
|
apiPath: /control
|
|
username: foo
|
|
password: '*********'
|
|
insecureSkipVerify: true
|
|
autoSetup: false
|
|
replica:
|
|
url: https://replica-file:443
|
|
webURL: https://replica-file:443
|
|
apiPath: /control
|
|
username: bar
|
|
password: '*********'
|
|
insecureSkipVerify: false
|
|
autoSetup: false
|
|
interfaceName: eth3
|
|
replicas:
|
|
- url: https://replicas-file:443
|
|
webURL: https://replicas-file:443
|
|
apiPath: /control
|
|
username: bar
|
|
password: '*********'
|
|
insecureSkipVerify: false
|
|
autoSetup: false
|
|
interfaceName: eth3
|
|
cron: '*/15 * * * *'
|
|
runOnStart: true
|
|
printConfigOnly: true
|
|
api:
|
|
port: 9090
|
|
features:
|
|
dns:
|
|
accessLists: true
|
|
serverConfig: false
|
|
rewrites: true
|
|
dhcp:
|
|
serverConfig: true
|
|
staticLeases: true
|
|
generalSettings: true
|
|
queryLogConfig: true
|
|
statsConfig: true
|
|
clientSettings: true
|
|
services: true
|
|
filters: true
|