mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 13:44:24 +00:00
31 lines
574 B
YAML
31 lines
574 B
YAML
version: "3.2"
|
|
|
|
services:
|
|
pihole:
|
|
container_name: pihole
|
|
image: pihole/pihole:latest
|
|
ports:
|
|
- "53:53/tcp"
|
|
- "53:53/udp"
|
|
- "67:67/udp"
|
|
- "80:80/tcp"
|
|
- "443:443/tcp"
|
|
environment:
|
|
TZ: Europe/Amsterdam
|
|
WEBPASSWORD_FILE: /run/secrets/webpassword
|
|
volumes:
|
|
- ./etc-pihole/:/etc/pihole/
|
|
- ./etc-dnsmasq.d/:/etc/dnsmasq.d/
|
|
dns:
|
|
- 127.0.0.1
|
|
- 1.1.1.1
|
|
cap_add:
|
|
- NET_ADMIN
|
|
restart: unless-stopped
|
|
secrets:
|
|
- webpassword
|
|
|
|
secrets:
|
|
webpassword:
|
|
file: ./webpassword
|