2016-08-15 15:38:50 +02:00
|
|
|
;https://github.com/gogits/gogs/blob/master/conf/app.ini
|
|
|
|
APP_NAME = Gogs: Go Git Service
|
|
|
|
RUN_USER = gogs
|
|
|
|
RUN_MODE = prod
|
|
|
|
[database]
|
|
|
|
DB_TYPE = mysql
|
|
|
|
HOST = 127.0.0.1:3306
|
2018-02-08 00:09:28 +01:00
|
|
|
NAME = __DB_USER__
|
|
|
|
USER = __DB_USER__
|
|
|
|
PASSWD = __DB_PASSWORD__
|
2016-08-15 15:38:50 +02:00
|
|
|
SSL_MODE = disable
|
|
|
|
PATH = data/gogs.db
|
|
|
|
[repository]
|
2018-02-08 00:09:28 +01:00
|
|
|
ROOT = __REPOS_PATH__
|
2016-08-15 15:38:50 +02:00
|
|
|
FORCE_PRIVATE = false
|
|
|
|
[server]
|
2018-02-08 00:09:28 +01:00
|
|
|
DOMAIN = __DOMAIN__
|
|
|
|
HTTP_PORT = __PORT__
|
|
|
|
ROOT_URL = https://__URL__/
|
2016-08-15 15:38:50 +02:00
|
|
|
DISABLE_SSH = false
|
|
|
|
SSH_PORT = 22
|
|
|
|
OFFLINE_MODE = false
|
2018-02-08 00:09:28 +01:00
|
|
|
APP_DATA_PATH = __DATA_PATH__
|
2016-08-15 15:38:50 +02:00
|
|
|
LANDING_PAGE = explore
|
|
|
|
[mailer]
|
|
|
|
ENABLED = true
|
|
|
|
HOST = 127.0.0.1:25
|
2018-02-08 00:09:28 +01:00
|
|
|
FROM = "Gogs" <gogs-noreply@__DOMAIN__>
|
2016-08-15 15:38:50 +02:00
|
|
|
SKIP_VERIFY = true
|
|
|
|
[service]
|
|
|
|
REGISTER_EMAIL_CONFIRM = false
|
2016-11-16 16:15:53 +01:00
|
|
|
ENABLE_NOTIFY_MAIL = true
|
2016-08-15 15:38:50 +02:00
|
|
|
DISABLE_REGISTRATION = true
|
|
|
|
ENABLE_CAPTCHA = false
|
|
|
|
REQUIRE_SIGNIN_VIEW = false
|
|
|
|
ENABLE_REVERSE_PROXY_AUTHENTICATION = true
|
|
|
|
ENABLE_REVERSE_PROXY_AUTO_REGISTERATION = true
|
|
|
|
[picture]
|
2018-02-08 00:09:28 +01:00
|
|
|
AVATAR_UPLOAD_PATH = __DATA_PATH__/avatars
|
2016-08-15 15:38:50 +02:00
|
|
|
[attachment]
|
2018-02-08 00:09:28 +01:00
|
|
|
PATH = __DATA_PATH__/attachments
|
2016-08-15 15:38:50 +02:00
|
|
|
[session]
|
|
|
|
PROVIDER = memory
|
|
|
|
[log]
|
|
|
|
MODE = file
|
|
|
|
LEVEL = Warn
|
|
|
|
ROOT_PATH = /var/log/gogs
|
|
|
|
[security]
|
|
|
|
INSTALL_LOCK = true
|
2018-02-08 00:09:28 +01:00
|
|
|
SECRET_KEY = __KEY__
|
2016-08-15 15:38:50 +02:00
|
|
|
REVERSE_PROXY_AUTHENTICATION_USER = REMOTE_USER
|