You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
|
|
version: "3.0"
|
|
|
|
services:
|
|
|
|
ceph_client:
|
|
|
|
container_name: ceph_client
|
|
|
|
image: docker.io/ceph/daemon:latest-nautilus
|
|
|
|
devices:
|
|
|
|
- /dev/fuse
|
|
|
|
volumes:
|
|
|
|
- /ceph/client/etc/ceph/:/etc/ceph/
|
|
|
|
#:shared makes container mounts accessiable from the host
|
|
|
|
- /cephfs/:/cephfs/:shared
|
|
|
|
entrypoint: ceph-fuse
|
|
|
|
command: /cephfs/ -f --id ${HOSTNAME}
|
|
|
|
security_opt:
|
|
|
|
#required for fuse
|
|
|
|
- apparmor:unconfined
|
|
|
|
cap_add:
|
|
|
|
#required for fuse
|
|
|
|
- SYS_ADMIN
|
|
|
|
networks:
|
|
|
|
- ceph
|
|
|
|
networks:
|
|
|
|
ceph:
|
|
|
|
external: true
|