Skip to content

Instantly share code, notes, and snippets.

@varinen
Created June 21, 2020 07:08
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/192e4fe52c98ae592c099c1b6d47a24b to your computer and use it in GitHub Desktop.
Save varinen/192e4fe52c98ae592c099c1b6d47a24b to your computer and use it in GitHub Desktop.
version: "3"
services:
nginx-proxy:
image: jwilder/nginx-proxy
container_name: nginx-proxy
ports:
- "80:80"
- "443:443"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- letsencrypt-certs:/etc/nginx/certs
- letsencrypt-vhost-d:/etc/nginx/vhost.d
- letsencrypt-html:/usr/share/nginx/html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment