Skip to content

Instantly share code, notes, and snippets.

@jfornoff
Created August 3, 2016 09:23
Show Gist options
  • Save jfornoff/567acb8a450e2889ac77bd9f34b78d90 to your computer and use it in GitHub Desktop.
Save jfornoff/567acb8a450e2889ac77bd9f34b78d90 to your computer and use it in GitHub Desktop.
app:
build: .
volumes:
- /qgen/public
environment:
- RAILS_ENV=production
env_file:
- envfile.${ENV}
proxy:
build: ./proxy
links:
- app
expose:
- "80"
volumes_from:
- app
lb:
image: rancher/load-balancer-service
ports:
- 80:80
external_links:
- ranchertest/proxy
labels:
io.rancher.loadbalancer.target.ranchertest/proxy: ranchertest.daetaapptest01.eur.ad.sag:80=80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment