diff --git a/README.md b/README.md index c68e70f..47f435e 100644 --- a/README.md +++ b/README.md @@ -67,8 +67,10 @@ services: - "80:80/tcp" # Default HTTPs Port. FTL will generate a self-signed certificate - "443:443/tcp" - # Uncomment the below if using Pi-hole as your DHCP Server + # Uncomment the line below if you are using Pi-hole as your DHCP server #- "67:67/udp" + # Uncomment the line below if you are using Pi-hole as your NTP server + #- "123:123/udp" environment: # Set the appropriate timezone for your location (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones), e.g: TZ: 'Europe/London' diff --git a/src/Dockerfile b/src/Dockerfile index 9683968..a0bbe37 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -82,6 +82,7 @@ COPY --chmod=0755 start.sh /usr/bin/start.sh EXPOSE 53 53/udp EXPOSE 67/udp EXPOSE 80 +EXPOSE 123/udp EXPOSE 443 ## Buildkit can do some fancy stuff and we can use it to either download FTL from ftl.pi-hole.net or use a local copy @@ -98,7 +99,7 @@ RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then FTLARCH=amd64; \ elif [ "$TARGETPLATFORM" = "linux/riscv64" ]; then FTLARCH=riscv64; \ else FTLARCH=amd64; fi \ && echo "Arch: ${TARGETPLATFORM}, FTLARCH: ${FTLARCH}" \ - && if [ "${FTL_BRANCH}" = "master" ]; then URL="https://github.com/pi-hole/ftl/releases/latest/download"; else URL="https://ftl.pi-hole.net/${FTL_BRANCH}"; fi \ + && if [ "${FTL_BRANCH}" = "master" ]; then URL="https://github.com/pi-hole/ftl/releases/latest/download"; else URL="https://ftl.pi-hole.net/${FTL_BRANCH}"; fi \ && curl -sSL "${URL}/pihole-FTL-${FTLARCH}" -o /usr/bin/pihole-FTL \ && chmod +x /usr/bin/pihole-FTL \ && readelf -h /usr/bin/pihole-FTL || (echo "Error with downloaded FTL binary" && exit 1) \