Created
April 12, 2018 19:57
-
-
Save skeep/2fe855ebd8d0e4fd78442bff5533e34c to your computer and use it in GitHub Desktop.
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' | |
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