Created
April 12, 2016 15:40
-
-
Save crrobinson14/cb8ac2b15f3c2eb31fcd4d7f8b06ef34 to your computer and use it in GitHub Desktop.
Test Rancher config
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
nginx: | |
log_driver: '' | |
labels: | |
io.rancher.container.pull_image: always | |
tty: true | |
log_opt: {} | |
image: nginx:alpine | |
links: | |
- nr-db:mysql | |
stdin_open: true | |
nr-db: | |
image: rancher/external-service | |
phpmyadmin: | |
ports: | |
- 5080:80/tcp | |
environment: | |
PMA_HOST: nr-db | |
PMA_PORT: '23306' | |
log_driver: '' | |
labels: | |
io.rancher.container.pull_image: always | |
tty: true | |
log_opt: {} | |
image: phpmyadmin/phpmyadmin | |
links: | |
- 'nr-db:' | |
stdin_open: true | |
webproxy: | |
ports: | |
- 4080:80 | |
tty: true | |
image: rancher/load-balancer-service | |
links: | |
- nginx:nginx | |
stdin_open: true |
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
nginx: | |
scale: 2 | |
nr-db: | |
external_ips: | |
- 192.168.99.100 | |
phpmyadmin: | |
scale: 1 | |
webproxy: | |
scale: 1 | |
load_balancer_config: | |
haproxy_config: {} | |
health_check: | |
port: 42 | |
interval: 2000 | |
unhealthy_threshold: 3 | |
healthy_threshold: 2 | |
response_timeout: 2000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment