make distinct templates for different versions for Plone (#363)
* make distinct templates for plone 4.3 and plone 5.0 * remove version variable from zeoserver as well
This commit is contained in:
committed by
Hussein Galal
parent
16859801eb
commit
7bffa9210e
@@ -0,0 +1,33 @@
|
||||
zeoserver:
|
||||
image: plone:5.0
|
||||
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:5.0
|
||||
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
|
||||
Reference in New Issue
Block a user