鈻郝縌u茅 es un Docker Swarm? https://www.sumologic.com/glossary/docker-swarm/
C贸digo para el Docker copiar y pegar
version: "3"
services:
pihole:
image: pihole/pihole:latest
ports:
- "53:53/tcp"
- "53:53/udp"
- "67:67/udp"
- "80:80/tcp"
- "443:443/tcp"
environment:
TZ: 'Europe/Madrid'
WEBPASSWORD: 'password' #Your Password Goes Here
ServerIP: '192.168.1.238' #Your Server IP Goes Here
volumes:
- '/srv/dev-disk-by-label-Files/Config/Pihole/etc-pihole/:/etc/pihole/' #Your Path Goes BEFORE the :
- '/srv/dev-disk-by-label-Files/Config/Pihole/etc-dnsmasq.d/:/etc/dnsmasq.d/' #Your Path Goes BEFORE the :
dns:
- 127.0.0.1
- 1.1.1.1
# Recommended but not required (DHCP needs NET_ADMIN)
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
cap_add:
- NET_ADMIN
restart: unless-stopped
Deja una respuesta