mirror of
https://git.myvelabs.com/docker/docker-compose.yaml.git
synced 2025-12-17 21:26:17 +00:00
Reboot
This commit is contained in:
parent
b7336a277f
commit
e650d80b1e
58 changed files with 1747 additions and 0 deletions
11
pihole/.env
Normal file
11
pihole/.env
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Environment file for docker-compose.yaml
|
||||
# Generate new passwords with:
|
||||
# openssl rand -hex 32
|
||||
|
||||
# Fill in registry
|
||||
REGISTRY=
|
||||
|
||||
# Pi-hole
|
||||
PIHOLE_PORT=
|
||||
PIHOLE_PASS=
|
||||
PIHOLE_HOSTIP=
|
||||
39
pihole/docker-compose.yaml
Normal file
39
pihole/docker-compose.yaml
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
services:
|
||||
|
||||
# https://github.com/pi-hole/docker-pi-hole/
|
||||
pihole:
|
||||
container_name: pihole
|
||||
image: pihole/pihole:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 53:53/tcp
|
||||
- 53:53/udp
|
||||
- ${PIHOLE_PORT}:80/tcp
|
||||
environment:
|
||||
TZ: UTC
|
||||
WEBPASSWORD: ${PIHOLE_PASS}
|
||||
FTLCONF_LOCAL_IPV4: ${PIHOLE_HOSTIP}
|
||||
DNSMASQ_LISTENING: all
|
||||
PIHOLE_DNS_: 172.21.200.3#53
|
||||
volumes:
|
||||
- ./pihole:/etc/pihole
|
||||
- ./dnsmasq.d:/etc/dnsmasq.d
|
||||
networks:
|
||||
pihole:
|
||||
ipv4_address: 172.21.200.2
|
||||
|
||||
unbound:
|
||||
container_name: unbound
|
||||
image: mvance/unbound:latest
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
pihole:
|
||||
ipv4_address: 172.21.200.3
|
||||
|
||||
networks:
|
||||
pihole:
|
||||
name: pihole
|
||||
ipam:
|
||||
driver: default
|
||||
config:
|
||||
- subnet: 172.21.200.0/24
|
||||
Loading…
Add table
Add a link
Reference in a new issue