mirror of
https://github.com/unifi-utilities/unifios-utilities.git
synced 2024-08-30 18:32:21 +00:00
Fixing HTTP Certs
This commit is contained in:
parent
f3b370c03e
commit
c9a6df27e9
@ -39,7 +39,7 @@ If you have already installed PiHole, skip right to step 6.
|
|||||||
6. Make /mnt/data/nextdns and copy [nextdns.conf](https://github.com/boostchicken/udm-utilities/blob/master/nextdns/udm-files/nextdns.conf) to it.
|
6. Make /mnt/data/nextdns and copy [nextdns.conf](https://github.com/boostchicken/udm-utilities/blob/master/nextdns/udm-files/nextdns.conf) to it.
|
||||||
7. Run the NextDNS docker container. Mounting dbus and running in privileged is only required for mDNS. Also, please change the --dns arguments to whatever was provided by NextDNS.
|
7. Run the NextDNS docker container. Mounting dbus and running in privileged is only required for mDNS. Also, please change the --dns arguments to whatever was provided by NextDNS.
|
||||||
```
|
```
|
||||||
podman run -d --privileged --network dns \
|
podman run -d --network dns \
|
||||||
--name nextdns \
|
--name nextdns \
|
||||||
-v "/mnt/data/nextdns/:/etc/nextdns/" \
|
-v "/mnt/data/nextdns/:/etc/nextdns/" \
|
||||||
-v /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket \
|
-v /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket \
|
||||||
|
@ -3,12 +3,12 @@ ENV VERSION=1.6.4
|
|||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
RUN apk add curl \
|
RUN apk add curl \
|
||||||
&& mkdir nextdns \
|
&& mkdir nextdns \
|
||||||
&& curl -fsSL https://github.com/nextdns/nextdns/releases/download/v${VERSION}/nextdns_${VERSION}_linux_arm64.tar.gz -o nextdns.tar.gz \
|
&& curl -fsSL https://github.com/nextdns/nextdns/releases/download/v${VERSION}/nextdns_${VERSION}_linux_amd64.tar.gz -o nextdns.tar.gz \
|
||||||
&& tar zxf nextdns.tar.gz -C ./nextdns
|
&& tar zxf nextdns.tar.gz -C ./nextdns
|
||||||
|
|
||||||
FROM debian:buster-slim
|
FROM debian:buster-slim
|
||||||
LABEL maintainer="John Dorman <dorman@ataxia.cloud>"
|
LABEL maintainer="John Dorman <dorman@ataxia.cloud>"
|
||||||
|
RUN apt update && apt install -y ca-certificates
|
||||||
COPY --from=builder /tmp/nextdns /opt/nextdns
|
COPY --from=builder /tmp/nextdns /opt/nextdns
|
||||||
EXPOSE 53/tcp 53/udp
|
EXPOSE 53/tcp 53/udp
|
||||||
VOLUME ['/etc/nextdns']
|
|
||||||
ENTRYPOINT ["/opt/nextdns/nextdns","run", "-config-file", "/etc/nextdns/nextdns.conf"]
|
ENTRYPOINT ["/opt/nextdns/nextdns","run", "-config-file", "/etc/nextdns/nextdns.conf"]
|
@ -4,4 +4,4 @@ listen :53
|
|||||||
report-client-info yes
|
report-client-info yes
|
||||||
cache-size=10MB
|
cache-size=10MB
|
||||||
|
|
||||||
config YOURCONFIG HERE
|
config YOURIDHERE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user