2015-08-18 20:44:26 +00:00
|
|
|
APP_NAME = Gogs: Go Git Service
|
2016-02-22 02:52:08 +00:00
|
|
|
RUN_USER = git
|
2015-04-29 00:12:16 +00:00
|
|
|
RUN_MODE = prod
|
|
|
|
|
2015-04-29 04:57:58 +00:00
|
|
|
[database]
|
|
|
|
DB_TYPE = mysql
|
|
|
|
HOST = ##MYSQL_HOST:##MYSQL_PORT
|
|
|
|
NAME = ##MYSQL_DATABASE
|
|
|
|
USER = ##MYSQL_USERNAME
|
|
|
|
PASSWD = ##MYSQL_PASSWORD
|
2015-08-18 20:44:26 +00:00
|
|
|
SSL_MODE = disable
|
2015-04-29 04:57:58 +00:00
|
|
|
PATH =
|
|
|
|
|
2015-04-29 00:12:16 +00:00
|
|
|
[repository]
|
2015-10-13 23:12:06 +00:00
|
|
|
ROOT = /app/data/repository
|
2015-04-29 00:12:16 +00:00
|
|
|
SCRIPT_TYPE = bash
|
|
|
|
|
|
|
|
[server]
|
2015-04-29 02:29:12 +00:00
|
|
|
PROTOCOL = http
|
2015-11-24 20:16:34 +00:00
|
|
|
DOMAIN = ##DOMAIN
|
2015-04-29 02:29:12 +00:00
|
|
|
ROOT_URL = https://%(DOMAIN)s/
|
2015-04-29 00:12:16 +00:00
|
|
|
HTTP_ADDR =
|
|
|
|
HTTP_PORT = 3000
|
2016-04-11 17:44:43 +00:00
|
|
|
DISABLE_SSH = ##DISABLE_SSH
|
2015-04-29 00:12:16 +00:00
|
|
|
SSH_PORT = ##SSH_PORT
|
|
|
|
; Landing page for non-logged users, can be "home" or "explore"
|
|
|
|
LANDING_PAGE = explore
|
|
|
|
|
2015-04-29 04:57:58 +00:00
|
|
|
[mailer]
|
|
|
|
ENABLED = true
|
|
|
|
HOST = ##MAIL_SERVER:##MAIL_PORT
|
|
|
|
USER =
|
|
|
|
PASSWD =
|
|
|
|
FROM = ##MAIL_FROM
|
2015-04-29 00:12:16 +00:00
|
|
|
|
2015-04-29 02:29:12 +00:00
|
|
|
[admin]
|
|
|
|
|
|
|
|
[security]
|
|
|
|
INSTALL_LOCK = true
|
2015-04-29 04:57:58 +00:00
|
|
|
SECRET_KEY = ##SECRET_KEY
|
2015-04-29 02:29:12 +00:00
|
|
|
|
2015-04-29 04:57:58 +00:00
|
|
|
[service]
|
|
|
|
DISABLE_REGISTRATION = false
|
|
|
|
SHOW_REGISTRATION_BUTTON = false
|
2015-06-30 02:44:01 +00:00
|
|
|
ENABLE_NOTIFY_MAIL = true
|
2015-10-13 22:27:09 +00:00
|
|
|
|
|
|
|
[log]
|
|
|
|
; Either "console", "file", "conn", "smtp" or "database", default is "console"
|
|
|
|
MODE = console
|
|
|
|
; used for xorm.log
|
2015-11-24 18:52:20 +00:00
|
|
|
ROOT_PATH = /run/gogs
|