gogs 自定义配置

APP_NAME = Gogs
RUN_USER = iZ4jknzwgq2e9sZ$
RUN_MODE = prod

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

[repository]
ROOT = C:/gogs-repositories

[server]
DOMAIN           = yixiangchen.com
HTTP_PORT        = 3000
ROOT_URL         = http://yixiangchen.com:3000/
DISABLE_SSH      = false
SSH_PORT         = 22
START_SSH_SERVER = false
OFFLINE_MODE     = true

[mailer]
ENABLED = false

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

[picture]
DISABLE_GRAVATAR        = true
ENABLE_FEDERATED_AVATAR = false

[session]
PROVIDER = file

[log]
MODE      = file
LEVEL     = Info
ROOT_PATH = C:/gogs/log

[security]
INSTALL_LOCK = true
SECRET_KEY   = 7K372zsN4NvbZK5

posted @ 2020-06-05 12:59  百小僧  阅读(626)  评论(0编辑  收藏  举报