daily pastebin goal
47%
SHARE
TWEET

Untitled

a guest Jan 17th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   pihole:
  2.     container_name: pihole
  3.     domainname: docker
  4.     hostname: pihole
  5.     image: pihole/pihole:latest
  6.     ports:
  7.       - '53:53/tcp'
  8.       - '53:53/udp'
  9.       - '8182:80'
  10.       - '8183:443'
  11.     restart: unless-stopped
  12.     volumes:
  13.       - ${USERDIR}/docker/pihole/pihole:/etc/pihole
  14.       - ${USERDIR}/docker/pihole/dnsmasq.d:/etc/dnsmasq.d
  15.     environment:
  16.       - ServerIP=${SERVER_IP}
  17.       - PROXY_LOCATION=pihole
  18.       - VIRTUAL_HOST=pihole.${DOMAINNAME}
  19.       - VIRTUAL_PORT=80
  20.       - TZ=${TZ}
  21.       - WEBPASSWORD=PIHOLEWEBPASSWORD
  22.       - DNS1=1.1.1.1
  23.       - DNS2=1.0.0.1
  24.     labels:
  25.       - "traefik.enable=true"
  26.       - "traefik.backend=hole"
  27.       - "traefik.port=80"
  28.       - "traefik.frontend.rule=HostRegexp:pihole.${DOMAINNAME},{catchall:.*}"
  29.       - "traefik.frontend.priority=1"
  30.       - traefik.frontend.headers.SSLRedirect=true
  31.       - traefik.frontend.headers.STSSeconds=315360000
  32.       - traefik.frontend.headers.browserXSSFilter=true
  33.       - traefik.frontend.headers.contentTypeNosniff=true
  34.       - traefik.frontend.headers.forceSTSHeader=true
  35.       - traefik.frontend.headers.SSLHost=${DOMAINNAME}
  36.       - traefik.frontend.headers.STSIncludeSubdomains=true
  37.       - traefik.frontend.headers.STSPreload=true
  38.       - traefik.frontend.headers.frameDeny=true
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top