Skip to content

Instantly share code, notes, and snippets.

@crrobinson14
Created April 12, 2016 15:40
Show Gist options
  • Save crrobinson14/cb8ac2b15f3c2eb31fcd4d7f8b06ef34 to your computer and use it in GitHub Desktop.
Save crrobinson14/cb8ac2b15f3c2eb31fcd4d7f8b06ef34 to your computer and use it in GitHub Desktop.
Test Rancher config
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
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