127 lines
2.8 KiB
YAML
127 lines
2.8 KiB
YAML
version: "3.9"
|
|
|
|
volumes:
|
|
pihole:
|
|
name: pihole
|
|
dnsmasq:
|
|
name: dnsmasq
|
|
|
|
# smokeping:
|
|
# name: smokeping
|
|
# smokeping-config:
|
|
# name: smokeping-config
|
|
# netdataconfig:
|
|
# name: netdataconfig
|
|
# netdatalib:
|
|
# name: netdatalib
|
|
# netdatacache:
|
|
# name: netdatacache
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|
|
internal:
|
|
external: true
|
|
home:
|
|
external: false
|
|
driver: macvlan
|
|
enable_ipv6: true
|
|
driver_opts:
|
|
parent: enp2s0
|
|
ipam:
|
|
config:
|
|
- subnet: 192.168.178.0/24
|
|
gateway: 192.168.178.1
|
|
ip_range: 192.168.178.2/29 # 2 - 6
|
|
- subnet: fd00::/64
|
|
gateway: fd00::de15:c8ff:feec:9960
|
|
ip_range: fd00::1/80
|
|
name: home
|
|
|
|
|
|
services:
|
|
pihole:
|
|
image: pihole/pihole
|
|
cap_add:
|
|
- NET_ADMIN
|
|
container_name: pihole
|
|
environment:
|
|
ServerIP: 192.168.178.2
|
|
ServerIPv6: fd00::2
|
|
TZ: "Europe/Berlin"
|
|
WEBPASSWORD: "lmaa,dw."
|
|
PIHOLE_DNS_: 192.168.178.3;192.168.178.3
|
|
VIRTUAL_HOST: pihole.lan
|
|
hostname: pihole
|
|
mac_address: d0:ca:ab:cd:ef:01
|
|
networks:
|
|
home:
|
|
ipv4_address: 192.168.178.2
|
|
ipv6_address: fd00::2
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
- "53:53/tcp"
|
|
- "53:53/udp"
|
|
restart: unless-stopped
|
|
volumes:
|
|
- pihole:/etc/pihole/
|
|
- dnsmasq:/etc/dnsmasq.d/
|
|
|
|
|
|
unbound:
|
|
image: mvance/unbound
|
|
container_name: unbound
|
|
hostname: unbound
|
|
networks:
|
|
home:
|
|
ipv4_address: 192.168.178.3
|
|
ipv6_address: fd00::3
|
|
ports:
|
|
- "53:53/tcp"
|
|
- "53:53/udp"
|
|
restart: always
|
|
|
|
|
|
# smokeping:
|
|
# image: lscr.io/linuxserver/smokeping
|
|
# container_name: smokeping
|
|
# environment:
|
|
# - PUID=1000
|
|
# - PGID=1000
|
|
# - TZ=Europe/Berlin
|
|
# restart: unless-stopped
|
|
# networks:
|
|
# - proxy
|
|
# volumes:
|
|
# - smokeping-config:/config
|
|
# - smokeping:/data
|
|
# labels:
|
|
# - "traefik.enable=true"
|
|
# - "traefik.http.routers.smokeping.entrypoints=web"
|
|
# - "traefik.http.routers.smokeping.rule=Host(`smokeping.lan`)"
|
|
# - "traefik.http.services.smokeping.loadbalancer.server.port=80"
|
|
#
|
|
# netdata:
|
|
# image: netdata/netdata
|
|
# container_name: netdata
|
|
# restart: unless-stopped
|
|
# cap_add:
|
|
# - SYS_PTRACE
|
|
# networks:
|
|
# - proxy
|
|
# volumes:
|
|
# - netdataconfig:/etc/netdata
|
|
# - netdatalib:/var/lib/netdata
|
|
# - netdatacache:/var/cache/netdata
|
|
# - /etc/passwd:/host/etc/passwd:ro
|
|
# - /etc/group:/host/etc/group:ro
|
|
# - /proc:/host/proc:ro
|
|
# - /sys:/host/sys:ro
|
|
# - /etc/os-release:/host/etc/os-release:ro
|
|
# labels:
|
|
# - "traefik.enable=true"
|
|
# - "traefik.http.routers.netdata.entrypoints=web"
|
|
# - "traefik.http.routers.netdata.rule=Host(`netdata.lan`)"
|
|
# - "traefik.http.services.netdata.loadbalancer.server.port=19999"
|