mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated FUSE Mount (markdown)
parent
f20a33e8a8
commit
4323968986
|
@ -88,6 +88,22 @@ filer ---- mount1
|
|||
|
||||
```
|
||||
|
||||
#### Mount directory on host from docker-compose
|
||||
|
||||
If docker compose is being used to manage the server (eg. https://github.com/chrislusf/seaweedfs/wiki/Getting-Started#with-compose)
|
||||
it's possible to mount a directory on the host with docker privileged mode like so:
|
||||
```
|
||||
mount_1:
|
||||
# Mount my weed seaweed volume to host /weed path
|
||||
image: chrislusf/seaweedfs
|
||||
privileged: true
|
||||
pid: host
|
||||
entrypoint: 'nsenter -t 1 -m -u -n -i -- /usr/bin/weed mount -filer="localhost:8888,localhost:8889" -filer.path=/weed -dir=/weed'
|
||||
depends_on:
|
||||
- master
|
||||
- filer
|
||||
```
|
||||
|
||||
### Weed Mount Architecture
|
||||
|
||||
`weed mount` has a persistent client connecting to Master, to get the location updates of all volumes.
|
||||
|
|
Loading…
Reference in a new issue