Portworx template for Rancher (#277)

* add portworx to rancher catalog

* Update docker-compose.yml

* Update config.yml

* Update README.md
This commit is contained in:
Jeff Silberman
2016-09-18 21:48:59 -07:00
committed by Bill Maxwell
parent 401ef671ef
commit c4e6375e07
5 changed files with 110 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
## Cluster Token Needed
Please contact support@portworx.com for a Cluster Token
## Product Documentation
[Portworx Documentation] (https://docs.portworx.com)
+22
View File
@@ -0,0 +1,22 @@
portworx:
labels:
io.rancher.container.create_agent: 'true'
io.rancher.scheduler.global: 'true'
io.rancher.container.pull_image: 'always'
image: portworx/px-dev
container_name: px
ipc: host
net: host
privileged: true
environment:
CLUSTER_TOKEN: ${cluster_token}
volumes:
- /dev:/dev
- /usr/src:/usr/src
- /run/docker/plugins:/run/docker/plugins
- /var/lib/osd:/var/lib/osd:shared
- /etc/pwx:/etc/pwx
- /opt/pwx/bin:/export_bin:shared
- /var/run/docker.sock:/var/run/docker.sock
- /var/cores:/var/cores
command: -t ${cluster_token} -a -f
+13
View File
@@ -0,0 +1,13 @@
.catalog:
name: "Portworx"
version: "1.0.2-2016-09-07-GA"
description: "Container Defined Storage for Docker"
uuid: 352669-pwx-1.0.2
minimum_rancher_version: v0.56.0
questions:
- variable: cluster_token
description: "Cluster Token from Lighthouse"
label: "Cluster Token"
type: "string"
required: true
default: ""