Compare commits
17 Commits
73708ae84e
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
7a12ee8851
|
|||
|
0768ea1edc
|
|||
| 7a3ada8303 | |||
| b928b55886 | |||
| 8326f052d9 | |||
| 61c24f42eb | |||
| 69a58598f8 | |||
| 69bf4564dc | |||
| 659709a2e9 | |||
| 943994bd73 | |||
| b09ea468cb | |||
| 257aadc895 | |||
| fa8b6949aa | |||
| 28d3ed37f1 | |||
| 99dfa4fa24 | |||
| adfc713969 | |||
| 6c5d3dc991 |
43
.gitignore
vendored
43
.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
|
||||
# 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
|
||||
@@ -25,3 +65,6 @@ go.work.sum
|
||||
# env file
|
||||
.env
|
||||
|
||||
>>>>>>> 73708ae84e8c1661dec146bee95ba7e4322e997b
|
||||
dnsmasq.d
|
||||
pihole_dnsmasq
|
||||
|
||||
33
docker-compose.yaml
Normal file
33
docker-compose.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
services:
|
||||
pihole:
|
||||
image: pihole/pihole:latest
|
||||
container_name: pihole
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env
|
||||
network_mode: host
|
||||
environment:
|
||||
TZ: ${TZ}
|
||||
WEBPASSWORD: ${WEBPASSWORD}
|
||||
PIHOLE_DNS_: ${PIHOLE_DNS_}
|
||||
DNSMASQ_LISTENING: all
|
||||
FTLCONF_dns_listeningMode: all
|
||||
FTLCONF_misc_etc_dnsmasq_d: 'true'
|
||||
FTLCONF_webserver_port: "18080o"
|
||||
volumes:
|
||||
- pihole_data:/etc/pihole
|
||||
- ./pihole_dnsmasq:/etc/dnsmasq.d
|
||||
depends_on:
|
||||
- unbound
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
unbound:
|
||||
image: mvance/unbound:latest
|
||||
container_name: unbound
|
||||
ports:
|
||||
- "127.0.0.1:5353:53/tcp"
|
||||
- "127.0.0.1:5353:53/udp"
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
pihole_data:
|
||||
pihole_dnsmasq:
|
||||
Reference in New Issue
Block a user