APP_NAME = Gogs
RUN_USER = {$RUN_USER}
RUN_MODE = prod

[database]
DB_TYPE  = mysql
HOST     = 127.0.0.1:3306
NAME     = gogs
USER     = gogs
PASSWD   = gogs
SSL_MODE = disable
PATH     = data/gogs.db

[repository]
ROOT = {$ROOT_PATH}/gogs-repositories
FORCE_PRIVATE = true

[server]
DOMAIN           = 127.0.0.1
HTTP_PORT        = 3000
ROOT_URL         = http://127.0.0.1:3000/
DISABLE_SSH      = true
SSH_PORT         = 2000
START_SSH_SERVER = false
OFFLINE_MODE     = false
LANDING_PAGE = home

[mailer]
ENABLED = false
HOST = smtp.163.com:465
USER = midoks@163.com
PASSWD = ***
USE_PLAIN_TEXT = true

[service]
REGISTER_EMAIL_CONFIRM = false
ENABLE_NOTIFY_MAIL     = false
DISABLE_REGISTRATION   = true
ENABLE_CAPTCHA         = true
REQUIRE_SIGNIN_VIEW    = true

[picture]
DISABLE_GRAVATAR        = false
ENABLE_FEDERATED_AVATAR = false

[session]
PROVIDER = file

[log]
MODE      = console, file
LEVEL     = Info
ROOT_PATH = {$SERVER_PATH}/gogs/log

[security]
INSTALL_LOCK = true
SECRET_KEY   = jmGSJXDBH5Ng4wt


[other]
SHOW_FOOTER_BRANDING = false
SHOW_FOOTER_VERSION = false
SHOW_FOOTER_TEMPLATE_LOAD_TIME = false

