Skip to content

Instantly share code, notes, and snippets.

@Munsio
Last active September 19, 2016 15:00
Show Gist options
  • Save Munsio/4ea9561815f91e549afdf47c18b37bdb to your computer and use it in GitHub Desktop.
Save Munsio/4ea9561815f91e549afdf47c18b37bdb to your computer and use it in GitHub Desktop.
web:
scale: 4 <-- this one indicates to run 4 instances of the web container (over all available hosts)
upgrade_strategy:
start_first: true
health_check:
port: 80
interval: 30000
unhealthy_threshold: 4
response_timeout: 20000
request_line: GET / HTTP/1.0
healthy_threshold: 2
web-balancer:
scale: 2 <-- This one indicates to run 2 instances of the web-balancer - hproxy (over all available hosts)
load_balancer_config:
name: web-balancer config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment