Last active
October 7, 2016 23:11
-
-
Save zambon/f1644b579117c05d3feca8d19ea6b90e to your computer and use it in GitHub Desktop.
Quick n' dirty Docker registry Rancher stack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lb: | |
expose: | |
- "5000:5000" | |
tty: true | |
image: rancher/load-balancer-service | |
links: | |
- registry:registry | |
stdin_open: true | |
registry: | |
image: registry:2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lb: | |
scale: 1 | |
load_balancer_config: | |
haproxy_config: {} | |
health_check: | |
port: 42 | |
interval: 2000 | |
unhealthy_threshold: 3 | |
strategy: recreate | |
response_timeout: 2000 | |
healthy_threshold: 2 | |
registry: | |
health_check: | |
port: 5000 | |
interval: 2000 | |
initializing_timeout: 5000 | |
unhealthy_threshold: 3 | |
strategy: recreate | |
healthy_threshold: 2 | |
response_timeout: 2000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment