Skip to content

Instantly share code, notes, and snippets.

@xuyuji9000
Created November 19, 2017 13:15
Show Gist options
  • Save xuyuji9000/df65bbd16d641ec03abe6e6e71aacddd to your computer and use it in GitHub Desktop.
Save xuyuji9000/df65bbd16d641ec03abe6e6e71aacddd to your computer and use it in GitHub Desktop.
File name should be docker-compose.yml
version: '2'
services:
nginx-proxy:
image: jwilder/nginx-proxy
ports:
- "80:80"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
web:
image: nginx:1.13.1-alpine
environment:
- VIRTUAL_HOST=api.running-blue.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment