1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gogs_ynh.git synced 2024-09-03 20:36:23 +02:00
gogs_ynh/conf/app.ini
2021-11-07 12:39:07 +01:00

71 lines
1.3 KiB
INI

;https://github.com/gogits/gogs/blob/master/conf/app.ini
APP_NAME = Gogs
RUN_USER = __APP__
RUN_MODE = prod
[server]
DOMAIN = __DOMAIN__
HTTP_PORT = __PORT__
ROOT_URL = https://__URL__/
HTTP_ADDR = 127.0.0.1
OFFLINE_MODE = false
DISABLE_SSH = false
SSH_PORT = 22
APP_DATA_PATH = __DATA_PATH__
LANDING_PAGE = explore
[repository]
ROOT = __REPOS_PATH__
FORCE_PRIVATE = false
[database]
DB_TYPE = mysql
HOST = 127.0.0.1:3306
NAME = __DB_NAME__
USER = __DB_USER__
PASSWD = __DB_PWD__
SSL_MODE = disable
PATH = data/gogs.db
[security]
INSTALL_LOCK = true
SECRET_KEY = __KEY__
REVERSE_PROXY_AUTHENTICATION_USER = REMOTE_USER
[service]
REGISTER_EMAIL_CONFIRM = false
ENABLE_NOTIFY_MAIL = true
DISABLE_REGISTRATION = true
ENABLE_CAPTCHA = false
REQUIRE_SIGNIN_VIEW = false
ENABLE_REVERSE_PROXY_AUTHENTICATION = false
ENABLE_REVERSE_PROXY_AUTO_REGISTERATION = false
[mailer]
ENABLED = true
HOST = 127.0.0.1:25
FROM = "Gitea" <gogs-noreply@__DOMAIN__>
SKIP_VERIFY = true
[session]
PROVIDER = memory
[picture]
AVATAR_UPLOAD_PATH = __DATA_PATH__/avatars
[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