Add Plone to Rancher Community Catalog (#312)

* Add Plone

* Add port variable

* Add host affinity variable

* Add required fields

* Spread accross multiple nodes

* Typo fix

* Change category to CMS
This commit is contained in:
Alin Voinea
2016-11-24 18:25:26 +02:00
committed by Hussein Galal
parent 4552eb0569
commit 9536763606
6 changed files with 193 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
zeoserver:
image: plone:${version}
labels:
io.rancher.scheduler.affinity:host_label: ${host_label}
io.rancher.scheduler.affinity:container_label_soft_ne: io.rancher.community.plone=true
io.rancher.community.plone: "true"
volumes:
- ${volume_name}:/data
volume_driver: ${volume_driver}
command: ["zeoserver"]
plone:
image: plone:${version}
labels:
io.rancher.scheduler.affinity:host_label: ${host_label}
io.rancher.scheduler.affinity:container_label_soft_ne: io.rancher.community.plone=true
io.rancher.community.plone: "true"
links:
- zeoserver:zeoserver
environment:
ADDONS: ${addons}
ZEO_ADDRESS: zeoserver:8100
lb:
image: rancher/load-balancer-service
labels:
io.rancher.scheduler.affinity:host_label: ${host_label}
io.rancher.scheduler.affinity:container_label_soft_ne: io.rancher.community.plone=true
io.rancher.community.plone: "true"
links:
- plone:plone
ports:
- ${http_port}:8080