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/
|
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"]
|
||||||
|
@ -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:
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user