fix(bind9): perms and ports

This commit is contained in:
ange 2024-02-06 11:14:54 +01:00
parent ab47e6a9c5
commit 718662b9d8
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D
3 changed files with 5 additions and 5 deletions

View File

@ -8,6 +8,6 @@ COPY named.conf.options /etc/bind/
COPY entrypoint.sh /usr/local/bin/ COPY entrypoint.sh /usr/local/bin/
VOLUME /var/cache/bind/ VOLUME /var/cache/bind/
RUN chown -R root:bind /etc/bind/ /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"] ENTRYPOINT ["entrypoint.sh"]
CMD ["named", "-g", "-ubind"] CMD ["named", "-g"]

View File

@ -16,7 +16,7 @@ services:
ports: ports:
- "53:53/tcp" - "53:53/tcp"
- "53:53/udp" - "53:53/udp"
- "8443:8443" - "853:853"
environment: environment:
- BASE_URL - BASE_URL
volumes: volumes:

View File

@ -1,6 +1,6 @@
tls le { tls le {
cert-file /etc/letsencrypt/live/$BASE_URL/fullchain.pem; cert-file "/etc/letsencrypt/live/$BASE_URL/fullchain.pem";
key-file /etc/letsencrypt/live/$BASE_URL/privkey.pem; key-file "/etc/letsencrypt/live/$BASE_URL/privkey.pem";
}; };
options { options {