community-catalog/templates/traefik/0/docker-compose.yml
Raúl Sánchez e8f86f188b Upgrade zookeeper and traefik packages (#185)
* Upgrade zookeeper to version 3.4.8

* Updated traefik version to v1.0.0. Added new features: ssl, multidomain, import key/cert from metadata, run as traefik user.

* Upgrade kafka to version 0.10.0

* Updated traefik version to v1.0.1. ssl key and crt set as required.

* Updated traefik version to v1.0.1. ssl working modes available.
2016-07-26 09:37:38 -07:00

35 lines
1.1 KiB
YAML

traefik:
ports:
- ${admin_port}:${admin_port}/tcp
- ${http_port}:${http_port}/tcp
- ${https_port}:${https_port}/tcp
log_driver: ''
labels:
io.rancher.scheduler.global: 'true'
io.rancher.scheduler.affinity:host_label: traefik_lb=true
io.rancher.scheduler.affinity:container_label_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name}
io.rancher.sidekicks: traefik-conf
io.rancher.container.hostname_override: container_name
tty: true
log_opt: {}
image: rawmind/alpine-traefik:1.0.0-beta.771
environment:
- TRAEFIK_HTTP_PORT=${http_port}
- TRAEFIK_HTTPS_PORT=${https_port}
- TRAEFIK_ADMIN_PORT=${admin_port}
- CONF_INTERVAL=${refresh_interval}
volumes_from:
- traefik-conf
traefik-conf:
log_driver: ''
labels:
io.rancher.scheduler.global: 'true'
io.rancher.scheduler.affinity:host_label: traefik_lb=true
io.rancher.scheduler.affinity:container_label_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name}
io.rancher.container.start_once: 'true'
tty: true
log_opt: {}
image: rawmind/rancher-traefik:0.0.1-10
net: none