Skip to content

Instantly share code, notes, and snippets.

@skeep
Created April 12, 2018 19:57
Show Gist options
  • Save skeep/2fe855ebd8d0e4fd78442bff5533e34c to your computer and use it in GitHub Desktop.
Save skeep/2fe855ebd8d0e4fd78442bff5533e34c to your computer and use it in GitHub Desktop.
version: '3'
services:
server1:
image: httpd:alpine
environment:
- VIRTUAL_HOST=server1.test
server2:
image: httpd:alpine
environment:
- VIRTUAL_HOST=server2.test
nginx-proxy:
image: jwilder/nginx-proxy
ports:
- "80:80"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment