mirror of
https://github.com/klutchell/unbound-docker.git
synced 2026-10-17 16:02:50 +00:00
@@ -0,0 +1,25 @@
|
||||
# See https://pre-commit.com for more information
|
||||
# See https://pre-commit.com/hooks.html for more hooks
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v3.2.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
- id: check-yaml
|
||||
- id: check-added-large-files
|
||||
|
||||
- repo: https://github.com/renovatebot/pre-commit-hooks
|
||||
rev: 38.101.0
|
||||
hooks:
|
||||
- id: renovate-config-validator
|
||||
|
||||
- repo: https://github.com/rhysd/actionlint
|
||||
rev: v1.7.3
|
||||
hooks:
|
||||
- id: actionlint-docker
|
||||
|
||||
- repo: https://github.com/hadolint/hadolint
|
||||
rev: v2.12.0
|
||||
hooks:
|
||||
- id: hadolint-docker
|
||||
+1
-1
@@ -159,7 +159,7 @@ COPY --from=root-key --chown=unbound:unbound /var/unbound/root.key /var/unbound/
|
||||
|
||||
RUN [ "unbound", "-V" ]
|
||||
# hadolint ignore=DL3059
|
||||
RUN [ "unbound-checkconf" ]
|
||||
RUN [ "unbound-checkconf" ]
|
||||
# hadolint ignore=DL3059
|
||||
RUN [ "drill", "-v" ]
|
||||
# hadolint ignore=DL3059
|
||||
|
||||
@@ -2,4 +2,4 @@ cachedb:
|
||||
backend: "redis"
|
||||
redis-server-host: redis
|
||||
redis-server-port: 6379
|
||||
redis-expire-records: yes
|
||||
redis-expire-records: yes
|
||||
|
||||
@@ -76,7 +76,7 @@ server:
|
||||
|
||||
# Fetch DS records earlier (DNSSEC): more cpu usage, less latency
|
||||
prefetch-key: yes
|
||||
|
||||
|
||||
# One thread should be sufficient, can be increased on beefy machines.
|
||||
# In reality for most users running on small networks or on a single machine,
|
||||
# it should be unnecessary to seek performance enhancement by increasing num-threads above 1.
|
||||
|
||||
Reference in New Issue
Block a user