update metadata server standalone deployment

This commit is contained in:
Junxiang Huang 2025-03-17 17:51:10 +08:00
parent 24bdc15309
commit a4bbf0bb13
2 changed files with 2 additions and 7 deletions

View File

@ -23,7 +23,7 @@ Please download the file by following command:
=== "Standalone"
!!! note
For standalone deployment, the metadata server only supports Seafile using the storage backend such as **S3**.
For standalone deployment (usually used in cluster deployment), the metadata server only supports Seafile using the storage backend such as **S3**.
```sh
wget https://manual.seafile.com/13.0/repo/docker/metadata-server/md-server.yml
@ -123,8 +123,3 @@ When you deploy Seafile server and Metadata server to the **same machine**, Meta
- `/opt/seafile-data/seafile/md-data`: Metadata server data and cache
- `/opt/seafile-data/seafile/logs/seaf-md-server.log`: The running log file of Metadata server
Otherwise (i.e. **standalone deployment**), the Metadata server will store data and cache in `/opt/md-data` by default (you can modify it by specifying `MD_DATA` in `.env`), and the above two paths will become:
- `/opt/md-data`
- `/opt/md-data/log/seaf-md-server.log`

View File

@ -3,7 +3,7 @@ services:
image: ${MD_IMAGE:-seafileltd/metadata-server:latest}
container_name: metadata-server
volumes:
- ${MD_DATA:-/opt/md-data}:/data
- ${SEAFILE_VOLUME:-/opt/seafile}/seafile:/opt/seafile
ports:
- ${MD_PORT:-8084}:${MD_PORT:-8084}
environment: