Forgejo: use local storage

This commit is contained in:
Ivan R. 2024-11-11 17:46:44 +05:00
parent 8fb6ba4aea
commit 44c73acbfd
Signed by: lumin
GPG key ID: E0937DC7CD6D3817
4 changed files with 5 additions and 19 deletions

View file

@ -12,5 +12,3 @@
internal_token: "{{ forgejo_internal_token }}"
secret_key: "{{ forgejo_secret_key }}"
lfs_jwt_secret: "{{ forgejo_lfs_jwt_secret }}"
minio_access_key_id: uTJp8KfKSETa1uYMZnSM
minio_secret_access_key: "{{ forgejo_minio_secret_access_key }}"

View file

@ -69,13 +69,7 @@ argument_specs:
type: str
storage_type:
type: str
minio_endpoint:
type: str
minio_access_key_id:
type: str
minio_secret_access_key:
type: str
minio_bucket:
app_data_path:
type: str
cache_adapter:
type: str

View file

@ -11,11 +11,6 @@ USER={{ db_user }}
PASSWD={{ db_password }}
[storage]
STORAGE_TYPE={{ storage_type }}
MINIO_ENDPOINT={{ minio_endpoint }}
MINIO_ACCESS_KEY_ID={{ minio_access_key_id }}
MINIO_SECRET_ACCESS_KEY={{ minio_secret_access_key }}
MINIO_BUCKET={{ minio_bucket }}
[log]
LEVEL={{ log_level }}
@ -43,6 +38,8 @@ SECRET_KEY={{ secret_key }}
DOMAIN={{ domain }}
ROOT_URL={{ root_url }}
HTTP_PORT={{ http_port | string }}
STORAGE_TYPE={{ storage_type }}
APP_DATA_PATH={{ app_data_path }}
LFS_START_SERVER={{ lfs_start_server | string }}
LFS_JWT_SECRET={{ lfs_jwt_secret }}

View file

@ -42,11 +42,8 @@ cache_host: redis://redis-forgejo:6379/0?pool_size=100&idle_timeout=180s
lfs_start_server: true
lfs_jwt_secret: ""
storage_type: minio
minio_endpoint: minio:9000
minio_access_key_id: ""
minio_secret_access_key: ""
minio_bucket: forgejo
storage_type: local
app_data_path: /data/storage
cookie_name: session
cookie_secure: true