mirror of
https://github.com/terraphim/gitea-infrastructure.git
synced 2026-07-16 01:00:33 +02:00
Add S3 storage config for attachments, pictures, and LFS
This commit is contained in:
@@ -46,6 +46,27 @@ services:
|
|||||||
- GITEA__storage__MINIO_INSECURE_SKIP_VERIFY=false
|
- GITEA__storage__MINIO_INSECURE_SKIP_VERIFY=false
|
||||||
- GITEA__storage__MINIO_USE_SSL=false
|
- GITEA__storage__MINIO_USE_SSL=false
|
||||||
- GITEA__storage__SERVE_DIRECT=true
|
- GITEA__storage__SERVE_DIRECT=true
|
||||||
|
# S3 storage for attachments
|
||||||
|
- GITEA__attachment__STORAGE_TYPE=minio
|
||||||
|
- GITEA__attachment__MINIO_ENDPOINT=s3storage:8333
|
||||||
|
- GITEA__attachment__MINIO_ACCESS_KEY_ID=op://TerraphimPlatform/gitea-s3/access-key
|
||||||
|
- GITEA__attachment__MINIO_SECRET_ACCESS_KEY=op://TerraphimPlatform/gitea-s3/secret-key
|
||||||
|
- GITEA__attachment__MINIO_BUCKET=gitea
|
||||||
|
- GITEA__attachment__MINIO_USE_SSL=false
|
||||||
|
# S3 storage for avatars/pictures
|
||||||
|
- GITEA__picture__STORAGE_TYPE=minio
|
||||||
|
- GITEA__picture__MINIO_ENDPOINT=s3storage:8333
|
||||||
|
- GITEA__picture__MINIO_ACCESS_KEY_ID=op://TerraphimPlatform/gitea-s3/access-key
|
||||||
|
- GITEA__picture__MINIO_SECRET_ACCESS_KEY=op://TerraphimPlatform/gitea-s3/secret-key
|
||||||
|
- GITEA__picture__MINIO_BUCKET=gitea
|
||||||
|
- GITEA__picture__MINIO_USE_SSL=false
|
||||||
|
# S3 storage for LFS
|
||||||
|
- GITEA__lfs__STORAGE_TYPE=minio
|
||||||
|
- GITEA__lfs__MINIO_ENDPOINT=s3storage:8333
|
||||||
|
- GITEA__lfs__MINIO_ACCESS_KEY_ID=op://TerraphimPlatform/gitea-s3/access-key
|
||||||
|
- GITEA__lfs__MINIO_SECRET_ACCESS_KEY=op://TerraphimPlatform/gitea-s3/secret-key
|
||||||
|
- GITEA__lfs__MINIO_BUCKET=gitea-lfs
|
||||||
|
- GITEA__lfs__MINIO_USE_SSL=false
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- gitea
|
- gitea
|
||||||
|
|||||||
Reference in New Issue
Block a user