Skip to content

Instantly share code, notes, and snippets.

@varinen
Created June 21, 2020 07:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save varinen/d6ef6d12da4e78f92650bb917e6fda8d to your computer and use it in GitHub Desktop.
Save varinen/d6ef6d12da4e78f92650bb917e6fda8d to your computer and use it in GitHub Desktop.
letsencrypt-proxy:
image: jrcs/letsencrypt-nginx-proxy-companion
container_name: letsencrypt-proxy
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- letsencrypt-certs:/etc/nginx/certs
- letsencrypt-vhost-d:/etc/nginx/vhost.d
- letsencrypt-html:/usr/share/nginx/html
environment:
- DEFAULT_EMAIL=some_email@yourdomain.tld
- NGINX_PROXY_CONTAINER=nginx-proxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment