Skip to content

Instantly share code, notes, and snippets.

@tsh-code
Created October 4, 2018 08:18
Show Gist options
  • Save tsh-code/81a9407e9f0c6fadf5ff486d1620005e to your computer and use it in GitHub Desktop.
Save tsh-code/81a9407e9f0c6fadf5ff486d1620005e to your computer and use it in GitHub Desktop.
load-balancer:
image: dockercloud/haproxy
links:
- api
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- 80:80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment