Skip to content

Instantly share code, notes, and snippets.

@gcphost
Created September 12, 2016 16:05
Show Gist options
  • Save gcphost/7ca7cd099b06a6e20619c40769fac98c to your computer and use it in GitHub Desktop.
Save gcphost/7ca7cd099b06a6e20619c40769fac98c to your computer and use it in GitHub Desktop.
rancher-compose.yaml
web:
scale: 4
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
load_balancer_config:
name: web-balancer config
redis:
scale: 1
health_check:
port: 6379
interval: 2000
unhealthy_threshold: 10
response_timeout: 2000
healthy_threshold: 2
beanstalk:
scale: 1
health_check:
port: 11300
interval: 2000
unhealthy_threshold: 10
response_timeout: 2000
healthy_threshold: 2
postgres:
scale: 1
health_check:
port: 5432
interval: 2000
unhealthy_threshold: 10
response_timeout: 2000
healthy_threshold: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment