This commit is contained in:
2025-11-30 12:34:45 +01:00
parent e5f390ad42
commit 13e6dd903a
125 changed files with 5482 additions and 28 deletions

View File

@@ -0,0 +1,63 @@
networks:
pihole:
driver: bridge
ipam:
config:
- subnet: 192.168.78.0/24
driver: default
services:
# orbital-sync:
# environment:
# INTERVAL_MINUTES: 60
# PRIMARY_HOST_BASE_URL: http://192.168.77.101:9380
# PRIMARY_HOST_PASSWORD: l4c1j4yd33Du5lo
# SECONDARY_HOST_1_BASE_URL: http://192.168.77.106:9380
# SECONDARY_HOST_1_PASSWORD: ${PASSWORD}
# # SECONDARY_HOST_1_PATH: /admin
# SECONDARY_HOST_2_BASE_URL: http://192.168.77.238:9380
# SECONDARY_HOST_2_PASSWORD: ${PASSWORD}
# image: mattwebbio/orbital-sync:1
# labels:
# wud.watch: true
# wud.watch.digest: true
pihole:
cap_add:
- NET_ADMIN
- SYS_TIME
- SYS_NICE
container_name: pihole
environment:
FTLCONF_dns_listeningMode: all
FTLCONF_dns_upstreams: 8.8.8.8;8.8.4.4
FTLCONF_webserver_api_password: ${PASSWORD}
TZ: Europe/Bratislava
hostname: m-server
image: pihole/pihole:latest
labels:
com.centurylinklabs.watchtower.enable: 'true'
homepage.container: pihole
homepage.description: Add blocker
homepage.group: Infrastructure
homepage.href: https://active.home.lan:9343/admin
homepage.icon: /images/pihole.png
homepage.name: Pihole
homepage.server: my-docker
homepage.weight: '1'
homepage.widget.key: ${PASSWORD}
homepage.widget.type: pihole
homepage.widget.url: https://active.home.lan:9343
homepage.widget.version: '6'
wud.watch: true
wud.watch.digest: true
networks:
pihole:
ipv4_address: 192.168.78.254
ports:
- 53:53/tcp
- 53:53/udp
- 9380:80/tcp
- 9343:443/tcp
restart: always
volumes:
- /share/docker_data/pihole/etc-pihole:/etc/pihole
- /share/docker_data/pihole/etc-dnsmasq.d:/etc/dnsmasq.d