Skip to content

Instantly share code, notes, and snippets.

@beyoung
Created May 29, 2017 04:45
Show Gist options
  • Save beyoung/e22800f5673e62665b3fe034d4822837 to your computer and use it in GitHub Desktop.
Save beyoung/e22800f5673e62665b3fe034d4822837 to your computer and use it in GitHub Desktop.
weba:
build: ./web
expose:
- 80
webb:
build: ./web
expose:
- 80
webc:
build: ./web
expose:
- 80
haproxy:
image: haproxy:latest
volumes:
- ./haproxy:/haproxy-override
- ./haproxy/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
links:
- weba
- webb
- webc
ports:
- "80:80"
- "70:70"
expose:
- "80"
- "70"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment