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

76 lines
1.5 KiB
INI
Raw Normal View History

2021-11-07 12:30:23 +01:00
;https://github.com/gogits/gogs/blob/master/conf/app.ini
2021-11-26 14:16:27 +01:00
BRAND_NAME = Gogs
2018-02-08 10:11:36 +01:00
RUN_USER = __APP__
2016-08-15 15:38:50 +02:00
RUN_MODE = prod
2018-06-07 22:06:19 +02:00
[server]
2021-11-26 14:16:27 +01:00
EXTERNAL_URL = https://__URL__/
2018-06-07 22:06:19 +02:00
DOMAIN = __DOMAIN__
HTTP_PORT = __PORT__
2021-11-07 12:30:23 +01:00
HTTP_ADDR = 127.0.0.1
OFFLINE_MODE = false
2018-06-07 22:06:19 +02:00
DISABLE_SSH = false
SSH_PORT = 22
2021-11-08 21:51:33 +01:00
APP_DATA_PATH = __DATADIR__/data
2018-06-07 22:06:19 +02:00
LANDING_PAGE = explore
2021-11-26 14:16:27 +01:00
CERT_FILE = /etc/yunohost/certs/__DOMAIN__/crt.pem
KEY_FILE = /etc/yunohost/certs/__DOMAIN__/key.pem
2018-06-07 22:06:19 +02:00
[repository]
2021-11-08 21:22:23 +01:00
ROOT = __DATADIR__/repositories
2018-06-07 22:06:19 +02:00
FORCE_PRIVATE = false
2021-11-26 14:16:27 +01:00
[repository.editor]
LINE_WRAP_EXTENSIONS = .txt,.md,.markdown,.mdown,.mkd
PREVIEWABLE_FILE_MODES = markdown
2016-08-15 15:38:50 +02:00
[database]
DB_TYPE = mysql
HOST = 127.0.0.1:3306
2021-04-23 07:57:08 +02:00
NAME = __DB_NAME__
2021-11-06 19:10:24 +01:00
USER = __DB_USER__
2021-04-23 07:57:08 +02:00
PASSWD = __DB_PWD__
2018-06-07 22:06:19 +02:00
[security]
INSTALL_LOCK = true
SECRET_KEY = __KEY__
REVERSE_PROXY_AUTHENTICATION_USER = REMOTE_USER
2016-08-15 15:38:50 +02:00
[service]
REGISTER_EMAIL_CONFIRM = false
2021-11-07 12:30:23 +01:00
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
2018-06-07 22:06:19 +02:00
2021-11-26 14:16:27 +01:00
[email]
2018-06-07 22:06:19 +02:00
ENABLED = true
HOST = 127.0.0.1:25
2021-11-26 13:59:30 +01:00
FROM = "Gogs" <gogs-noreply@__DOMAIN__>
2018-06-07 22:06:19 +02:00
SKIP_VERIFY = true
[session]
PROVIDER = memory
2016-08-15 15:38:50 +02:00
[picture]
2021-11-08 21:22:23 +01:00
AVATAR_UPLOAD_PATH = __DATADIR__/data/avatars
2018-06-07 22:06:19 +02:00
2016-08-15 15:38:50 +02:00
[log]
2021-11-07 12:30:23 +01:00
MODE = file
LEVEL = Info
2018-02-08 10:11:36 +01:00
ROOT_PATH = /var/log/__APP__
2018-06-07 22:06:19 +02:00
2021-11-07 12:30:23 +01:00
REDIRECT_MACARON_LOG= true
MACARON = file
2018-06-07 22:06:19 +02:00
2021-11-07 12:30:23 +01:00
ROUTER_LOG_LEVEL = Warn
ROUTER = file
ENABLE_ACCESS_LOG = Warn
ACCESS = file
ENABLE_XORM_LOG = Warn
XORM = file