Add backblaze storage for gitea

Skip LFS, as repo data is easier to store on-disk
This commit is contained in:
Jake Howard
2023-04-27 20:49:24 +01:00
parent ca9927e1f9
commit 25863241da
3 changed files with 45 additions and 26 deletions

View File

@ -101,6 +101,7 @@ REPO_INDEXER_ENABLED = true
ISSUE_INDEXER_TYPE = db
[lfs]
STORAGE_TYPE = local
PATH = /mnt/lfs
[federation]
@ -122,3 +123,13 @@ USER = "{{ mailer_user }}"
PASSWD = "{{ mailer_password }}"
MAILER_TYPE = smtp
IS_TLS_ENABLED = true
[storage]
STORAGE_TYPE = minio
MINIO_ENDPOINT = s3.eu-central-003.backblazeb2.com
MINIO_ACCESS_KEY_ID = {{ backblaze_access_key_id }}
MINIO_SECRET_ACCESS_KEY = {{ backblaze_secret_access_key }}
MINIO_BUCKET = 0rng-gitea
MINIO_LOCATION = eu-central-003
SERVE_DIRECT = true
MINIO_USE_SSL = true