forgejo_ynh/conf/app.ini

88 lines
2.2 KiB
INI
Raw Normal View History

; https://codeberg.org/forgejo/forgejo/src/branch/forgejo/custom/conf/app.example.ini
2023-01-06 10:12:01 +01:00
APP_NAME = Forgejo
2023-01-05 14:48:22 +01:00
RUN_USER = __APP__
RUN_MODE = prod
2023-08-08 17:16:42 +02:00
WORK_PATH = __INSTALL_DIR__
2023-01-05 14:48:22 +01:00
[database]
DB_TYPE = postgres
HOST = 127.0.0.1:5432
NAME = __DB_NAME__
USER = __DB_USER__
PASSWD = __DB_PWD__
2023-01-05 14:48:22 +01:00
SSL_MODE = disable
LOG_SQL = false
[repository]
2023-03-10 17:13:54 +01:00
ROOT = __DATA_DIR__/repositories
2023-01-05 14:48:22 +01:00
FORCE_PRIVATE = false
[server]
DOMAIN = __DOMAIN__
HTTP_PORT = __PORT__
HTTP_ADDR = 127.0.0.1
2023-03-10 17:13:54 +01:00
ROOT_URL = https://__DOMAIN____PATH__
DISABLE_SSH = false
SSH_PORT = __SSH_PORT__
OFFLINE_MODE = false
2023-03-10 17:13:54 +01:00
APP_DATA_PATH = __DATA_DIR__/data
LANDING_PAGE = explore
2023-01-05 14:48:22 +01:00
LFS_START_SERVER = true
LFS_JWT_SECRET = __LFS_JWT_SECRET__
LOCAL_ROOT_URL = http://127.0.0.1:__PORT__/
2023-01-05 14:48:22 +01:00
[mailer]
2023-08-08 17:16:42 +02:00
ENABLED = true
SMTP_ADDR = localhost
SMTP_PORT = 25
FROM = "Forgejo" <forgejo-noreply@__DOMAIN__>
FORCE_TRUST_SERVER_CERT = true
2023-01-05 14:48:22 +01:00
[service]
REGISTER_EMAIL_CONFIRM = false
ENABLE_NOTIFY_MAIL = true
DISABLE_REGISTRATION = true
ENABLE_CAPTCHA = false
REQUIRE_SIGNIN_VIEW = false
2023-03-15 22:57:40 +01:00
ENABLE_REVERSE_PROXY_AUTHENTICATION = true
2023-01-05 14:48:22 +01:00
ENABLE_REVERSE_PROXY_AUTO_REGISTRATION = true
ENABLE_REVERSE_PROXY_EMAIL = true
2023-01-05 14:48:22 +01:00
[picture]
2023-03-10 17:13:54 +01:00
AVATAR_UPLOAD_PATH = __DATA_DIR__/data/avatars
REPOSITORY_AVATAR_UPLOAD_PATH = __DATA_DIR__/data/repo-avatars
2023-01-05 14:48:22 +01:00
[attachment]
2023-03-10 17:13:54 +01:00
PATH = __DATA_DIR__/attachments
2023-01-05 14:48:22 +01:00
[session]
PROVIDER = memory
[log]
2023-08-08 17:16:42 +02:00
MODE = file
LEVEL = Info
ROOT_PATH = /var/log/__APP__
2023-01-05 14:48:22 +01:00
2023-08-08 17:16:42 +02:00
logger.access.MODE =
logger.router.MODE = router
logger.xorm.MODE = xorm
[log.file]
2023-01-06 12:12:44 +01:00
FILE_NAME = forgejo.log
2023-01-06 11:35:07 +01:00
2023-08-08 17:16:42 +02:00
[log.router]
FILE_NAME = router.log
LEVEL = Warn
[log.xorm]
FILE_NAME = xorm.log
LEVEL = Warn
2023-01-05 14:48:22 +01:00
[security]
2023-03-16 21:52:08 +01:00
INSTALL_LOCK = true
SECRET_KEY = __SECRET_KEY__
REVERSE_PROXY_AUTHENTICATION_USER = REMOTE-USER
REVERSE_PROXY_AUTHENTICATION_EMAIL = EMAIL
2023-03-16 21:52:08 +01:00
REVERSE_PROXY_TRUSTED_PROXIES = 127.0.0.0/8,::1/128
INTERNAL_TOKEN = __INTERNAL_TOKEN__