community-catalog/templates/portworx/0/docker-compose.yml
2016-10-08 10:44:27 -07:00

24 lines
634 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_ID: ${cluster_id}
KVDB: ${kvdb}
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: -c ${cluster_id} -k ${kvdb} -a -z -f