Compare commits
2 Commits
4681afce99
...
bf572b8fa4
| Author | SHA1 | Date | |
|---|---|---|---|
|
bf572b8fa4
|
|||
|
edd3ee52bd
|
@@ -18,6 +18,6 @@ COPY rootfs /
|
||||
COPY --from=build /dnsproxy /app/
|
||||
|
||||
HEALTHCHECK --interval=30s --start-period=5s --timeout=10s \
|
||||
CMD /usr/bin/host -T -p 1053 asperti.com 127.0.0.1
|
||||
CMD /usr/bin/host -T -p ${PORT} asperti.com 127.0.0.1
|
||||
|
||||
ENTRYPOINT ["/sbin/tini", "--", "/bin/sh", "/app/entrypoint.sh"]
|
||||
|
||||
@@ -32,9 +32,9 @@ EOF
|
||||
fi
|
||||
|
||||
# set port
|
||||
cat >> /etc/unbound/unbound.conf.d/port.conf << EOF
|
||||
cat > /etc/unbound/unbound.conf.d/port.conf << EOF
|
||||
server:
|
||||
interface: 0.0.0.0:${PORT}
|
||||
port: ${PORT}
|
||||
EOF
|
||||
|
||||
if [ "${DNSPROXY}" = true ] ; then
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
server:
|
||||
interface: 0.0.0.0
|
||||
port: 53
|
||||
do-ip4: yes
|
||||
do-ip6: no
|
||||
do-udp: yes
|
||||
|
||||
2
rootfs/etc/unbound/unbound.conf.d/port.conf
Normal file
2
rootfs/etc/unbound/unbound.conf.d/port.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
server:
|
||||
port: 1053
|
||||
Reference in New Issue
Block a user