Compare commits
10 Commits
73708ae84e
...
privresolv
| Author | SHA1 | Date | |
|---|---|---|---|
| 69bf4564dc | |||
| 659709a2e9 | |||
| 943994bd73 | |||
| b09ea468cb | |||
| 257aadc895 | |||
| fa8b6949aa | |||
| 28d3ed37f1 | |||
| 99dfa4fa24 | |||
| adfc713969 | |||
| 6c5d3dc991 |
41
.gitignore
vendored
41
.gitignore
vendored
@@ -1,3 +1,43 @@
|
|||||||
|
<<<<<<< HEAD
|
||||||
|
# ------------------------
|
||||||
|
# Secrets
|
||||||
|
# ------------------------
|
||||||
|
.env
|
||||||
|
|
||||||
|
# ------------------------
|
||||||
|
# Pi-hole data (state)
|
||||||
|
# ------------------------
|
||||||
|
etc-pihole/
|
||||||
|
|
||||||
|
# ------------------------
|
||||||
|
# Logs / runtime
|
||||||
|
# ------------------------
|
||||||
|
*.log
|
||||||
|
logs/
|
||||||
|
pihole.log
|
||||||
|
|
||||||
|
# ------------------------
|
||||||
|
# Docker
|
||||||
|
# ------------------------
|
||||||
|
*.pid
|
||||||
|
*.sock
|
||||||
|
|
||||||
|
# ------------------------
|
||||||
|
# System / editor
|
||||||
|
# ------------------------
|
||||||
|
.DS_Store
|
||||||
|
Thumbs.db
|
||||||
|
*~
|
||||||
|
*.swp
|
||||||
|
*.swo
|
||||||
|
|
||||||
|
# ------------------------
|
||||||
|
# Backup / temp
|
||||||
|
# ------------------------
|
||||||
|
*.bak
|
||||||
|
*.tmp
|
||||||
|
*.old
|
||||||
|
=======
|
||||||
# ---> Go
|
# ---> Go
|
||||||
# If you prefer the allow list template instead of the deny list, see community template:
|
# If you prefer the allow list template instead of the deny list, see community template:
|
||||||
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
|
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
|
||||||
@@ -25,3 +65,4 @@ go.work.sum
|
|||||||
# env file
|
# env file
|
||||||
.env
|
.env
|
||||||
|
|
||||||
|
>>>>>>> 73708ae84e8c1661dec146bee95ba7e4322e997b
|
||||||
|
|||||||
38
docker-compose.yaml
Normal file
38
docker-compose.yaml
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
services:
|
||||||
|
pihole:
|
||||||
|
image: pihole/pihole:latest
|
||||||
|
container_name: pihole
|
||||||
|
hostname: pihole
|
||||||
|
restart: unless-stopped
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:53:53/tcp"
|
||||||
|
- "127.0.0.1:53:53/udp"
|
||||||
|
- "${WG_GUEST_IP}:53:53/tcp"
|
||||||
|
- "${WG_GUEST_IP}:53:53/udp"
|
||||||
|
- "${WG_ADMIN_IP}:53:53/tcp"
|
||||||
|
- "${WG_ADMIN_IP}:53:53/udp"
|
||||||
|
- "${WG_ADMIN_IP}:${PIHOLE_WEB_PORT}:80"
|
||||||
|
environment:
|
||||||
|
TZ: ${TZ}
|
||||||
|
WEBPASSWORD: ${WEBPASSWORD}
|
||||||
|
PIHOLE_DNS_: ${PIHOLE_DNS_}
|
||||||
|
DNSMASQ_LISTENING: all
|
||||||
|
FTLCONF_dns_listeningMode: all
|
||||||
|
networks:
|
||||||
|
- dns_net
|
||||||
|
volumes:
|
||||||
|
- pihole_data:/etc/pihole
|
||||||
|
- pihole_dnsmasq:/etc/dnsmasq.d
|
||||||
|
|
||||||
|
cap_add:
|
||||||
|
- NET_ADMIN
|
||||||
|
|
||||||
|
networks:
|
||||||
|
dns_net:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
pihole_data:
|
||||||
|
pihole_dnsmasq:
|
||||||
Reference in New Issue
Block a user