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 }}" internal_token: "{{ forgejo_internal_token }}"
secret_key: "{{ forgejo_secret_key }}" secret_key: "{{ forgejo_secret_key }}"
lfs_jwt_secret: "{{ forgejo_lfs_jwt_secret }}" 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 type: str
storage_type: storage_type:
type: str type: str
minio_endpoint: app_data_path:
type: str
minio_access_key_id:
type: str
minio_secret_access_key:
type: str
minio_bucket:
type: str type: str
cache_adapter: cache_adapter:
type: str type: str

View file

@ -11,11 +11,6 @@ USER={{ db_user }}
PASSWD={{ db_password }} PASSWD={{ db_password }}
[storage] [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] [log]
LEVEL={{ log_level }} LEVEL={{ log_level }}
@ -43,6 +38,8 @@ SECRET_KEY={{ secret_key }}
DOMAIN={{ domain }} DOMAIN={{ domain }}
ROOT_URL={{ root_url }} ROOT_URL={{ root_url }}
HTTP_PORT={{ http_port | string }} HTTP_PORT={{ http_port | string }}
STORAGE_TYPE={{ storage_type }}
APP_DATA_PATH={{ app_data_path }}
LFS_START_SERVER={{ lfs_start_server | string }} LFS_START_SERVER={{ lfs_start_server | string }}
LFS_JWT_SECRET={{ lfs_jwt_secret }} 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_start_server: true
lfs_jwt_secret: "" lfs_jwt_secret: ""
storage_type: minio storage_type: local
minio_endpoint: minio:9000 app_data_path: /data/storage
minio_access_key_id: ""
minio_secret_access_key: ""
minio_bucket: forgejo
cookie_name: session cookie_name: session
cookie_secure: true cookie_secure: true