community-catalog/templates/portworx/0/docker-compose.yml
Jeff Silberman c4e6375e07 Portworx template for Rancher (#277)
* add portworx to rancher catalog

* Update docker-compose.yml

* Update config.yml

* Update README.md
2016-09-18 21:48:59 -07:00

23 lines
611 B
YAML

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