hardcode container_name

master
lub 5 years ago
parent 3f3412148c
commit 3e4083fdda

@ -1,6 +1,7 @@
version: "3.0" version: "3.0"
services: services:
ceph_client: ceph_client:
container_name: ceph_mon
image: docker.io/ceph/daemon:latest-nautilus image: docker.io/ceph/daemon:latest-nautilus
devices: devices:
- /dev/fuse - /dev/fuse

@ -1,6 +1,7 @@
version: "3.0" version: "3.0"
services: services:
ceph_mds: ceph_mds:
container_name: ceph_mds
image: docker.io/ceph/daemon:latest-nautilus image: docker.io/ceph/daemon:latest-nautilus
#copy hostname of the host to avoid confusion in e.g. `ceph status` #copy hostname of the host to avoid confusion in e.g. `ceph status`
hostname: ${HOSTNAME} hostname: ${HOSTNAME}

@ -1,6 +1,7 @@
version: "3.0" version: "3.0"
services: services:
ceph_mgr: ceph_mgr:
container_name: ceph_mgr
image: docker.io/ceph/daemon:latest-nautilus image: docker.io/ceph/daemon:latest-nautilus
#copy hostname of the host to avoid confusion in e.g. `ceph status` #copy hostname of the host to avoid confusion in e.g. `ceph status`
hostname: ${HOSTNAME} hostname: ${HOSTNAME}

@ -6,6 +6,7 @@
version: "3.0" version: "3.0"
services: services:
ceph_mon: ceph_mon:
container_name: ceph_mon
image: docker.io/ceph/daemon:latest-nautilus image: docker.io/ceph/daemon:latest-nautilus
#copy hostname of the host to avoid confusion in e.g. `ceph status` #copy hostname of the host to avoid confusion in e.g. `ceph status`
hostname: ${HOSTNAME} hostname: ${HOSTNAME}

@ -4,6 +4,7 @@
version: "3.0" version: "3.0"
services: services:
ceph_osd_${OSD_ID}: ceph_osd_${OSD_ID}:
container_name: ceph_osd_${OSD_ID}
image: docker.io/ceph/daemon:latest-nautilus image: docker.io/ceph/daemon:latest-nautilus
#copy hostname of the host to correctly calculate CRUSH map positions #copy hostname of the host to correctly calculate CRUSH map positions
hostname: ${HOSTNAME} hostname: ${HOSTNAME}