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.
23 lines
623 B
YAML
23 lines
623 B
YAML
5 years ago
|
version: "3.0"
|
||
|
services:
|
||
|
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:unconfied
|
||
|
cap_add:
|
||
|
#required for fuse
|
||
|
- SYS_ADMIN
|
||
|
networks:
|
||
|
- ceph
|
||
|
networks:
|
||
|
ceph:
|
||
|
external: true
|