Skip to content

Instantly share code, notes, and snippets.

@stefanvangastel
Created October 7, 2016 11:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save stefanvangastel/0cf00467895d341396517d70d53bc164 to your computer and use it in GitHub Desktop.
Save stefanvangastel/0cf00467895d341396517d70d53bc164 to your computer and use it in GitHub Desktop.
vamp-catalog
vamp-workflow-health:
environment:
VAMP_KEY_VALUE_STORE_TYPE: consul
VAMP_KEY_VALUE_STORE_CONNECTION: consul:8500
VAMP_URL: http://vamp:8080
VAMP_KEY_VALUE_STORE_ROOT_PATH: /vamp/workflow/health
labels:
breed: health
workflow: health
image: magneticio/vamp-workflow-agent:0.9.0
consul:
labels:
io.rancher.container.pull_image: always
tty: true
command:
- -server
- -bootstrap
hostname: consul
image: gliderlabs/consul-server
stdin_open: true
vamp-workflow-metrics:
environment:
VAMP_KEY_VALUE_STORE_TYPE: consul
VAMP_KEY_VALUE_STORE_CONNECTION: consul:8500
VAMP_URL: http://vamp:8080
VAMP_KEY_VALUE_STORE_ROOT_PATH: /vamp/workflow/metrics
labels:
breed: metrics
workflow: metrics
image: magneticio/vamp-workflow-agent:0.9.0
loadbalancer:
ports:
- 9090:8080
tty: true
image: rancher/load-balancer-service
links:
- vamp:vamp
stdin_open: true
vamp-gateway-agent:
labels:
io.rancher.scheduler.global: 'true'
io.rancher.container.pull_image: always
tty: true
command:
- --storeType=consul
- --storeConnection=consul:8500
- --storeKey=/vamp/haproxy/1.6
- --logstash=elastic:10001
hostname: vamp-gateway-agent
image: magneticio/vamp-gateway-agent:0.9.0
links:
- consul:consul
- elastic:elastic
stdin_open: true
elastic:
labels:
io.rancher.container.pull_image: always
tty: true
hostname: elastic
image: magneticio/elastic:2.2
stdin_open: true
vamp-workflow-kibana:
environment:
VAMP_KEY_VALUE_STORE_TYPE: consul
VAMP_KEY_VALUE_STORE_CONNECTION: consul:8500
VAMP_URL: http://vamp:8080
VAMP_KEY_VALUE_STORE_ROOT_PATH: /vamp/workflow/kibana
labels:
breed: kibana
workflow: kibana
image: magneticio/vamp-workflow-agent:0.9.0
vamp:
environment:
VAMP_CONTAINER_DRIVER_RANCHER_URL: http://172.17.0.2:8080/v1/projects/1a5
labels:
io.rancher.container.pull_image: always
tty: true
hostname: vamp
image: magneticio/vamp:0.9.0-rancher
stdin_open: true
vamp-workflow-health:
scale: 1
consul:
scale: 1
vamp-workflow-metrics:
scale: 1
loadbalancer:
scale: 1
load_balancer_config:
haproxy_config: {}
health_check:
port: 42
interval: 2000
unhealthy_threshold: 3
healthy_threshold: 2
response_timeout: 2000
elastic:
scale: 1
vamp-workflow-kibana:
scale: 1
vamp:
scale: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment