0c87b090e1
* updates to docker-compose.yaml and readme * fixed typos * final readme updates * typo * readme order Co-authored-by: SSinSD <47265616+SSinSD@users.noreply.github.com>
35 lines
1.1 KiB
YAML
35 lines
1.1 KiB
YAML
version: '2'
|
|
|
|
volumes:
|
|
etc_pihole-unbound:
|
|
etc_pihole_dnsmasq-unbound:
|
|
|
|
services:
|
|
pihole:
|
|
container_name: pihole
|
|
image: cbcrowe/pihole-unbound:latest
|
|
hostname: ${HOSTNAME}
|
|
domainname: ${DOMAIN_NAME}
|
|
ports:
|
|
- 443:443/tcp
|
|
- 53:53/tcp
|
|
- 53:53/udp
|
|
- ${PIHOLE_WEBPORT}:80/tcp #Allows use of different port to access pihole web interface when other docker containers use port 80
|
|
# - 5335:5335/tcp # Uncomment to enable unbound access on local server
|
|
# - 22/tcp # Uncomment to enable SSH
|
|
environment:
|
|
- FTLCONF_REPLY_ADDR4=${FTLCONF_REPLY_ADDR4}
|
|
- TZ=${TZ}
|
|
- WEBPASSWORD=${WEBPASSWORD}
|
|
- WEBTHEME=${WEBTHEME}
|
|
- REV_SERVER=${REV_SERVER}
|
|
- REV_SERVER_TARGET=${REV_SERVER_TARGET}
|
|
- REV_SERVER_DOMAIN=${REV_SERVER_DOMAIN}
|
|
- REV_SERVER_CIDR=${REV_SERVER_CIDR}
|
|
- PIHOLE_DNS_=127.0.0.1#5335
|
|
- DNSSEC="true"
|
|
- DNSMASQ_LISTENING=single
|
|
volumes:
|
|
- etc_pihole-unbound:/etc/pihole:rw
|
|
- etc_pihole_dnsmasq-unbound:/etc/dnsmasq.d:rw
|
|
restart: unless-stopped
|