Expose ports on correct server service.

This commit is contained in:
Chris Fordham 2017-07-21 15:06:29 +10:00 committed by GitHub
parent 1e71f1fc1a
commit bc9554079a

View File

@ -93,6 +93,9 @@ services:
io.rancher.sidekicks: server-volume io.rancher.sidekicks: server-volume
volumes_from: volumes_from:
- server-volume - server-volume
ports:
- 9000/tcp
- 8000/tcp
server-volume: server-volume:
image: rawmind/alpine-volume:0.0.2-1 image: rawmind/alpine-volume:0.0.2-1
environment: environment:
@ -107,9 +110,6 @@ services:
io.rancher.scheduler.affinity:container_label_soft_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name} io.rancher.scheduler.affinity:container_label_soft_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name}
io.rancher.container.hostname_override: container_name io.rancher.container.hostname_override: container_name
{{- end}} {{- end}}
ports:
- 9000/tcp
- 8000/tcp
lb: lb:
image: rancher/load-balancer-service image: rancher/load-balancer-service
ports: ports: