mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-08-22 07:31:52 +02:00
(cherry picked from commit884ca63738
) (cherry picked from commit0a45d9c37b
) [TESTS] upgrade tests for storage (squash) relative paths (cherry picked from commit3bb19285f3
) (cherry picked from commitc640c09e61
) (cherry picked from commit40ffe2d226
) [UPGRADE] S3 storage and fixtures (cherry picked from commitc466c9c657
) (cherry picked from commite80abbe2cd
) (cherry picked from commit50a47df1d1
) [UPGRADE] add sanity checks for [storage*] (squash) speedup upgrade tests (cherry picked from commitf578279cfe
) (cherry picked from commit6dd677f151
)
90 lines
1.7 KiB
INI
90 lines
1.7 KiB
INI
RUN_MODE = prod
|
|
WORK_PATH = ${WORK_PATH}
|
|
|
|
[server]
|
|
APP_DATA_PATH = ${WORK_PATH}/elsewhere
|
|
HTTP_PORT = 3000
|
|
SSH_LISTEN_PORT = 2222
|
|
LFS_START_SERVER = true
|
|
|
|
[database]
|
|
DB_TYPE = sqlite3
|
|
|
|
[log]
|
|
MODE = file
|
|
LEVEL = debug
|
|
ROUTER = file
|
|
|
|
[log.file]
|
|
FILE_NAME = forgejo.log
|
|
|
|
[security]
|
|
INSTALL_LOCK = true
|
|
|
|
[repository]
|
|
ENABLE_PUSH_CREATE_USER = true
|
|
DEFAULT_PUSH_CREATE_PRIVATE = false
|
|
|
|
[actions]
|
|
ENABLED = true
|
|
|
|
[attachment]
|
|
STORAGE_TYPE = minio
|
|
SERVE_DIRECT = false
|
|
MINIO_ENDPOINT = 127.0.0.1:9000
|
|
MINIO_ACCESS_KEY_ID = 123456
|
|
MINIO_SECRET_ACCESS_KEY = 12345678
|
|
MINIO_BUCKET = forgejo
|
|
MINIO_LOCATION = us-east-1
|
|
MINIO_USE_SSL = false
|
|
|
|
[lfs]
|
|
STORAGE_TYPE = minio
|
|
SERVE_DIRECT = false
|
|
MINIO_ENDPOINT = 127.0.0.1:9000
|
|
MINIO_ACCESS_KEY_ID = 123456
|
|
MINIO_SECRET_ACCESS_KEY = 12345678
|
|
MINIO_BUCKET = forgejo
|
|
MINIO_LOCATION = us-east-1
|
|
MINIO_USE_SSL = false
|
|
|
|
[repo-avatar]
|
|
STORAGE_TYPE = minio
|
|
SERVE_DIRECT = false
|
|
MINIO_ENDPOINT = 127.0.0.1:9000
|
|
MINIO_ACCESS_KEY_ID = 123456
|
|
MINIO_SECRET_ACCESS_KEY = 12345678
|
|
MINIO_BUCKET = forgejo
|
|
MINIO_LOCATION = us-east-1
|
|
MINIO_USE_SSL = false
|
|
|
|
[avatar]
|
|
STORAGE_TYPE = minio
|
|
SERVE_DIRECT = false
|
|
MINIO_ENDPOINT = 127.0.0.1:9000
|
|
MINIO_ACCESS_KEY_ID = 123456
|
|
MINIO_SECRET_ACCESS_KEY = 12345678
|
|
MINIO_BUCKET = forgejo
|
|
MINIO_LOCATION = us-east-1
|
|
MINIO_USE_SSL = false
|
|
|
|
[repo-archive]
|
|
STORAGE_TYPE = minio
|
|
SERVE_DIRECT = false
|
|
MINIO_ENDPOINT = 127.0.0.1:9000
|
|
MINIO_ACCESS_KEY_ID = 123456
|
|
MINIO_SECRET_ACCESS_KEY = 12345678
|
|
MINIO_BUCKET = forgejo
|
|
MINIO_LOCATION = us-east-1
|
|
MINIO_USE_SSL = false
|
|
|
|
[packages]
|
|
STORAGE_TYPE = minio
|
|
SERVE_DIRECT = false
|
|
MINIO_ENDPOINT = 127.0.0.1:9000
|
|
MINIO_ACCESS_KEY_ID = 123456
|
|
MINIO_SECRET_ACCESS_KEY = 12345678
|
|
MINIO_BUCKET = forgejo
|
|
MINIO_LOCATION = us-east-1
|
|
MINIO_USE_SSL = false
|