Skip to content

Instantly share code, notes, and snippets.

@yvh
Last active November 2, 2017 13:31
Show Gist options
  • Save yvh/1aea8c8b6db5b61b28d212f08384aa7d to your computer and use it in GitHub Desktop.
Save yvh/1aea8c8b6db5b61b28d212f08384aa7d to your computer and use it in GitHub Desktop.
Docker compose for nginx-proxy
version: '3'
services:
nginx-proxy:
image: jwilder/nginx-proxy
container_name: docker_proxy
ports:
- "80:80"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
restart: always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment