fix(bind9): perms and ports
This commit is contained in:
parent
ab47e6a9c5
commit
718662b9d8
@ -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"]
|
||||
|
@ -16,7 +16,7 @@ services:
|
||||
ports:
|
||||
- "53:53/tcp"
|
||||
- "53:53/udp"
|
||||
- "8443:8443"
|
||||
- "853:853"
|
||||
environment:
|
||||
- BASE_URL
|
||||
volumes:
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user