mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 21:33:02 +01:00
add FTLDNS
This commit is contained in:
@@ -302,6 +302,7 @@ A collection of delicious docker recipes.
|
|||||||
- [x] dnscrypt-server
|
- [x] dnscrypt-server
|
||||||
- [x] dnsmasq
|
- [x] dnsmasq
|
||||||
- [x] dnsmasq-arm
|
- [x] dnsmasq-arm
|
||||||
|
- [x] ftldns
|
||||||
- [x] passivedns
|
- [x] passivedns
|
||||||
- [x] pdnsd
|
- [x] pdnsd
|
||||||
|
|
||||||
|
|||||||
24
ftldns/Dockerfile
Normal file
24
ftldns/Dockerfile
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
#
|
||||||
|
# Dockerfile for FTLDNS (pihole-FTL)
|
||||||
|
#
|
||||||
|
|
||||||
|
FROM alpine:3
|
||||||
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
|
ARG FTL_VERSION=v5.23
|
||||||
|
ARG FTL_URL=https://github.com/pi-hole/FTL/releases/download/$FTL_VERSION/pihole-FTL-musl-linux-x86_64
|
||||||
|
|
||||||
|
RUN set -xe \
|
||||||
|
&& apk add --no-cache curl \
|
||||||
|
&& echo "conf-dir=/etc/pihole/dnsmasq.d,*.conf" >> /etc/dnsmasq.conf \
|
||||||
|
&& curl -sSL $FTL_URL -o /usr/bin/pihole-FTL \
|
||||||
|
&& chmod +x /usr/bin/pihole-FTL \
|
||||||
|
&& pihole-FTL --version \
|
||||||
|
&& apk del curl
|
||||||
|
|
||||||
|
VOLUME /etc/pihole
|
||||||
|
|
||||||
|
EXPOSE 53/tcp \
|
||||||
|
53/udp
|
||||||
|
|
||||||
|
CMD ["pihole-FTL", "-f"]
|
||||||
6
ftldns/README.md
Normal file
6
ftldns/README.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
FTLDNS
|
||||||
|
==========
|
||||||
|
|
||||||
|
[FTLDNS][1] (pihole-FTL) provides an interactive API and also generates statistics for Pi-hole®'s Web interface.
|
||||||
|
|
||||||
|
[1]: https://github.com/pi-hole/FTL
|
||||||
4
ftldns/data/dnsmasq.d/settings.conf
Normal file
4
ftldns/data/dnsmasq.d/settings.conf
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
no-hosts
|
||||||
|
no-resolv
|
||||||
|
cache-size=10000
|
||||||
|
server=8.8.8.8
|
||||||
BIN
ftldns/data/gravity.db
Normal file
BIN
ftldns/data/gravity.db
Normal file
Binary file not shown.
6
ftldns/data/pihole-FTL.conf
Normal file
6
ftldns/data/pihole-FTL.conf
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
#
|
||||||
|
# https://aur.archlinux.org/cgit/aur.git/tree/pi-hole-ftl.conf?h=pi-hole-ftl
|
||||||
|
#
|
||||||
|
|
||||||
|
BLOCKINGMODE=NXDOMAIN
|
||||||
|
FTLPORT=4711
|
||||||
1
ftldns/data/setupVars.conf
Normal file
1
ftldns/data/setupVars.conf
Normal file
@@ -0,0 +1 @@
|
|||||||
|
BLOCKING_ENABLED=true
|
||||||
11
ftldns/docker-compose.yml
Normal file
11
ftldns/docker-compose.yml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
version: "3.8"
|
||||||
|
services:
|
||||||
|
image: vimagick/ftldns
|
||||||
|
ports:
|
||||||
|
- "53:53"
|
||||||
|
volumes:
|
||||||
|
- ./data:/etc/pihole
|
||||||
|
tmpfs:
|
||||||
|
- /run/pihole
|
||||||
|
- /dev/shm
|
||||||
|
restart: unless-stopped
|
||||||
Reference in New Issue
Block a user