mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-10-31 22:38:58 +00:00
4e8712c523
(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
) (cherry picked from commitee7e7eca27
) (cherry picked from commit879ffca697
) (cherry picked from commit60b33cc5af
) (cherry picked from commita75b450c7b
)
59 lines
814 B
INI
59 lines
814 B
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.attachments]
|
|
PATH = ${WORK_PATH}/data/attachments
|
|
|
|
[lfs]
|
|
|
|
[storage.lfs]
|
|
PATH = ${WORK_PATH}/data/lfs
|
|
|
|
[avatar]
|
|
|
|
[storage.avatars]
|
|
PATH = ${WORK_PATH}/data/avatars
|
|
|
|
[repo-avatar]
|
|
|
|
[storage.repo-avatars]
|
|
PATH = ${WORK_PATH}/data/repo-avatars
|
|
|
|
[repo-archive]
|
|
|
|
[storage.repo-archive]
|
|
PATH = ${WORK_PATH}/data/repo-archive
|
|
|
|
[packages]
|
|
|
|
[storage.packages]
|
|
PATH = ${WORK_PATH}/data/packages
|