Created
February 7, 2020 14:12
-
-
Save derpixler/4cac41ae8711d3bf3e758d59839199af to your computer and use it in GitHub Desktop.
Nginx Proxy for docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.1" | |
services: | |
nginx-proxy: | |
image: jwilder/nginx-proxy:alpine | |
ports: | |
- "80:80" | |
- "443:443" | |
volumes: | |
- ./certs:/etc/nginx/certs | |
- /var/run/docker.sock:/tmp/docker.sock:ro | |
restart: unless-stopped | |
networks: | |
default: | |
external: | |
name: nginx-proxy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment