#mons need a static ip address #we reserve 10.13.37.0/24 for this #manually pick a free ip address and place it in a .env file: #MON_IP=10.13.37.312 version: "3.0" services: ceph_mon: container_name: ceph_mon image: docker.io/ceph/daemon:latest-nautilus #copy hostname of the host to avoid confusion in e.g. `ceph status` hostname: ${HOSTNAME} environment: - MON_IP=${MON_IP} - CEPH_PUBLIC_NETWORK=10.13.37.0/23 - CEPH_CLUSTER_NETWORK=10.13.37.0/23 volumes: - /ceph/mon/var/lib/ceph/:/var/lib/ceph/ - /ceph/mon/etc/ceph/:/etc/ceph/ command: mon networks: ceph: ipv4_address: ${MON_IP} networks: ceph: external: true