0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-11-21 17:36:59 -05:00

admin: storage: add missing MINIO_CHECKSUM_ALGORITHM setting

Fixes: https://codeberg.org/forgejo/forgejo/issues/4103
This commit is contained in:
Earl Warren 2024-06-11 17:36:43 +02:00
parent 2cebfa7231
commit 16834531f1
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -182,6 +182,7 @@ connect to a S3 compatible server:
- `MINIO_LOCATION`: **us-east-1**: S3 location to create bucket. - `MINIO_LOCATION`: **us-east-1**: S3 location to create bucket.
- `MINIO_USE_SSL`: **false**: S3 enabled ssl. - `MINIO_USE_SSL`: **false**: S3 enabled ssl.
- `MINIO_INSECURE_SKIP_VERIFY`: **false**: S3 skip SSL verification. - `MINIO_INSECURE_SKIP_VERIFY`: **false**: S3 skip SSL verification.
- `MINIO_CHECKSUM_ALGORITHM`: Minio checksum algorithm: **default** (for MinIO, garage or AWS S3) or **md5** (for Cloudflare or Backblaze)
When used in the `[storage]` section they apply to all When used in the `[storage]` section they apply to all
subsystems. When used in the section specific to a subsystem (see the table in the introduction), they subsystems. When used in the section specific to a subsystem (see the table in the introduction), they
@ -200,6 +201,7 @@ MINIO_BUCKET_LOOKUP = auto
MINIO_LOCATION = us-east-1 MINIO_LOCATION = us-east-1
MINIO_USE_SSL = false MINIO_USE_SSL = false
MINIO_INSECURE_SKIP_VERIFY = false MINIO_INSECURE_SKIP_VERIFY = false
MINIO_CHECKSUM_ALGORITHM = md5
[lfs] [lfs]
STORAGE_TYPE = minio STORAGE_TYPE = minio
@ -234,7 +236,7 @@ within the `forgejo` bucket instead of the `lfs/` directory
Although the S3 storage type is named `minio` it does not rely on any Although the S3 storage type is named `minio` it does not rely on any
[MinIO](https://min.io/) specific features. The S3 storage type is [MinIO](https://min.io/) specific features. The S3 storage type is
[tested](https://code.forgejo.org/forgejo/end-to-end/src/branch/main/storage/storage.sh) to be compatible with: [tested](https://code.forgejo.org/forgejo/end-to-end/src/commit/9cfd043b8af18ce0df48fa6e44772d9bd521cab4/storage/storage.sh) to be compatible with:
- [MinIO](https://min.io/) 2021.3.17 and 2023-08-23 - [MinIO](https://min.io/) 2021.3.17 and 2023-08-23
- [garage](https://garagehq.deuxfleurs.fr/) v0.8.2 - [garage](https://garagehq.deuxfleurs.fr/) v0.8.2