1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/forgejo_ynh.git synced 2024-09-03 18:36:26 +02:00
forgejo_ynh/conf/app.ini

82 lines
2.1 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
[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]
ENABLED = true
HOST = 127.0.0.1:25
FROM = "Forgejo" <forgejo-noreply@__DOMAIN__>
2023-01-05 14:48:22 +01:00
SKIP_VERIFY = true
[service]
REGISTER_EMAIL_CONFIRM = false
ENABLE_NOTIFY_MAIL = true
DISABLE_REGISTRATION = true
ENABLE_CAPTCHA = false
REQUIRE_SIGNIN_VIEW = false
2023-03-10 17:10:37 +01:00
ENABLE_REVERSE_PROXY_AUTHENTICATION = false
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]
MODE = file
LEVEL = Info
ROOT_PATH = /var/log/__APP__
REDIRECT_MACARON_LOG = true
MACARON = file
ROUTER_LOG_LEVEL = Warn
ROUTER = file
ENABLE_ACCESS_LOG = Warn
ACCESS = file
ENABLE_XORM_LOG = Warn
XORM = file
2023-01-05 14:48:22 +01:00
2023-01-06 11:57:21 +01:00
[log.file.default]
2023-01-06 12:12:44 +01:00
FILE_NAME = forgejo.log
2023-01-06 11:35:07 +01:00
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__