daily pastebin goal
35%
SHARE
TWEET

Untitled

a guest Mar 24th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: '2'
  2.  
  3. services:
  4.   nginx:
  5.     restart: always
  6.     image: jwilder/nginx-proxy
  7.     container_name: nginx
  8.     ports:
  9.       - 80:80
  10.       - 443:443
  11.     networks:
  12.       - nginxproxy
  13.     volumes:
  14.       - /etc/nginx/certs
  15.       - /etc/nginx/vhost.d
  16.       - /usr/share/nginx/html
  17.       - /var/run/docker.sock:/tmp/docker.sock:ro
  18.       # - /data/letsencrypt-nginx-proxy-companion/certs/:/etc/nginx/certs:ro
  19.  
  20.   letsencrypt-nginx-proxy-companion:
  21.     restart: always
  22.     image: jrcs/letsencrypt-nginx-proxy-companion
  23.     container_name: le
  24.     networks:
  25.       - nginxproxy
  26.     volumes_from:
  27.       - nginx
  28.     volumes:
  29.       - /var/run/docker.sock:/var/run/docker.sock:ro
  30.       # - /data/letsencrypt-nginx-proxy-companion/certs/:/etc/nginx/certs:ro
  31. # docker network create <net>
  32. networks:
  33.   nginxproxy:
  34.     external:
  35.       name: nginxproxy
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