SHARE
TWEET

Untitled

a guest Oct 5th, 2019 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: '3'
  2. services:
  3.    letsencrypt:
  4.     image: linuxserver/letsencrypt
  5.     container_name: letsencrypt
  6.     cap_add:
  7.       - NET_ADMIN
  8.     environment:
  9.       - PUID=1000
  10.       - PGID=1000
  11.       - TZ=Europe/Stockholm
  12.       - URL=YYYYYYYYYYYYY.duckdns.org
  13.       - VALIDATION=duckdns
  14.       - DUCKDNSTOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX #optional
  15.       - DHLEVEL=2048 #optional
  16.     volumes:
  17.       - ./letsencrypt_config:/config
  18.     ports:
  19.       - 443:443
  20.       - 80:80 #optional
  21.     restart: unless-stopped
  22.     depends_on:
  23.       - pihole
  24.  
  25.    pihole:
  26.     container_name: pihole
  27.     image: pihole/pihole:latest
  28.     environment:
  29.       - TZ=Europe/Stockholm
  30.     volumes:
  31.       - ./pihole_config/etc-pihole/:/etc/pihole/
  32.       - ./pihole_config/etc-dnsmasq.d/:/etc/dnsmasq.d/
  33.     ports:
  34.       - 53:53
  35.     dns:
  36.       - 127.0.0.1
  37.       - 1.1.1.1
  38.     cap_add:
  39.       - NET_ADMIN
  40.     restart: unless-stopped
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