opt: remove metadata deploy with oss

This commit is contained in:
Junxiang Huang 2025-02-24 16:20:05 +08:00
parent 288b70367e
commit c737ef2dae
2 changed files with 3 additions and 13 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 **S3** and **OSS** as storage backend
For standalone 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
@ -70,16 +70,6 @@ And here is other optional values according to your `MD_STORAGE_TYPE` setting:
| `MD_S3_USE_V4_SIGNATURE` | Use V4 signature to S3 storage backend. | Optional, default `true` |
| `MD_S3_SSE_C_KEY` | S3 SSE-C key. | Optional |
- `MD_STORAGE_TYPE=oss`
| Variables | Description | Required |
| --- | --- | --- |
| `MD_OSS_HOST` | OSS backend host. | Optional |
| `MD_OSS_REGION` | OSS backend region. | Optional |
| `MD_OSS_BUCKET` | Name of OSS bucket for storaging metadata. | **Required** |
| `MD_OSS_KEY_ID` | OSS backend authorization key ID. | **Required** |
| `MD_OSS_KEY` | OSS backend authorization key secret. | **Required** |
### Modify `seahub_settings.py`
To enable metadata server in Seafile, please add the following field in your `seahub_settings.py`:

View File

@ -15,7 +15,7 @@ SEAFILE_MYSQL_DB_PASSWORD=
SEAFILE_MYSQL_DB_SEAFILE_DB_NAME=seafile_db
SEAFILE_LOG_TO_STDOUT=false
#
# for s3 configurations
MD_S3_HOST=
MD_S3_AWS_REGION=
MD_S3_USE_HTTPS=true
@ -26,7 +26,7 @@ MD_S3_KEY=
MD_S3_USE_V4_SIGNATURE=true
MD_S3_SSE_C_KEY=
#
# for oss configurations
MD_OSS_HOST=
MD_OSS_REGION=
MD_OSS_BUCKET=