From 718662b9d8c8240c134a9dc18d48047573c2759e Mon Sep 17 00:00:00 2001 From: ange Date: Tue, 6 Feb 2024 11:14:54 +0100 Subject: [PATCH] fix(bind9): perms and ports --- bind9/Dockerfile | 4 ++-- bind9/compose.yaml | 2 +- bind9/named.conf.options | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bind9/Dockerfile b/bind9/Dockerfile index 2713f94..15bb95c 100644 --- a/bind9/Dockerfile +++ b/bind9/Dockerfile @@ -8,6 +8,6 @@ COPY named.conf.options /etc/bind/ COPY entrypoint.sh /usr/local/bin/ VOLUME /var/cache/bind/ RUN chown -R root:bind /etc/bind/ /var/cache/bind/ -EXPOSE 53/tcp 53/udp 8443/tcp +EXPOSE 53/tcp 53/udp 853/tcp ENTRYPOINT ["entrypoint.sh"] -CMD ["named", "-g", "-ubind"] +CMD ["named", "-g"] diff --git a/bind9/compose.yaml b/bind9/compose.yaml index 38c6037..7f09ccd 100644 --- a/bind9/compose.yaml +++ b/bind9/compose.yaml @@ -16,7 +16,7 @@ services: ports: - "53:53/tcp" - "53:53/udp" - - "8443:8443" + - "853:853" environment: - BASE_URL volumes: diff --git a/bind9/named.conf.options b/bind9/named.conf.options index a4f538a..e0dba4c 100644 --- a/bind9/named.conf.options +++ b/bind9/named.conf.options @@ -1,6 +1,6 @@ tls le { - cert-file /etc/letsencrypt/live/$BASE_URL/fullchain.pem; - key-file /etc/letsencrypt/live/$BASE_URL/privkey.pem; + cert-file "/etc/letsencrypt/live/$BASE_URL/fullchain.pem"; + key-file "/etc/letsencrypt/live/$BASE_URL/privkey.pem"; }; options {