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
+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