feat(forgejo): Allow setting S3 checksum algorithm as variable
Can take either `default` (for MinIO, garage, AWS) or `md5` (Cloudflare, Backblaze).
This commit is contained in:
parent
a6b8e6ffcd
commit
84dcf7d128
2 changed files with 2 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ forgejo_use_ci: false
|
|||
forgejo_use_s3: false
|
||||
forgejo_s3_use_ssl: true
|
||||
forgejo_s3_bucket_lookup: auto # auto|dns|path
|
||||
forgejo_s3_checksum: default # default|md5
|
||||
# forgejo_s3_endpoint:
|
||||
# forgejo_s3_region:
|
||||
# forgejo_s3_key:
|
||||
|
|
|
|||
|
|
@ -59,6 +59,7 @@ services:
|
|||
- FORGEJO__storage__MINIO_SECRET_ACCESS_KEY={{ forgejo_s3_secret }}
|
||||
- FORGEJO__storage__MINIO_BUCKET={{ forgejo_s3_bucket }}
|
||||
- FORGEJO__storage__MINIO_LOCATION={{ forgejo_s3_region }}
|
||||
- FORGEJO__storage__MINIO_CHECKSUM_ALGORITHM={{ forgejo_s3_checksum }}
|
||||
{% endif %}
|
||||
networks:
|
||||
- "{{ docker_swarm_public_network_name }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue