community-catalog/templates/portworx/0/docker-compose.yml
2017-03-03 21:35:52 -07:00

26 lines
708 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:edge
container_name: px
ipc: host
net: host
privileged: true
environment:
CLUSTER_ID: ${cluster_id}
KVDB: ${kvdb}
HDR_DIR: ${header_dir}
USE_DISKS: ${use_disks}
volumes:
- /dev:/dev
- ${header_dir}:${header_dir}
- /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} ${use_disks}