52 lines
931 B
Plaintext
52 lines
931 B
Plaintext
APP_NAME = Gogs: Go Git Service
|
|
RUN_USER = cloudron
|
|
RUN_MODE = prod
|
|
|
|
[database]
|
|
DB_TYPE = mysql
|
|
HOST = ##MYSQL_HOST:##MYSQL_PORT
|
|
NAME = ##MYSQL_DATABASE
|
|
USER = ##MYSQL_USERNAME
|
|
PASSWD = ##MYSQL_PASSWORD
|
|
SSL_MODE = disable
|
|
PATH =
|
|
|
|
[repository]
|
|
ROOT = /app/data/repository
|
|
SCRIPT_TYPE = bash
|
|
|
|
[server]
|
|
PROTOCOL = http
|
|
DOMAIN = ##HOSTNAME
|
|
ROOT_URL = https://%(DOMAIN)s/
|
|
HTTP_ADDR =
|
|
HTTP_PORT = 3000
|
|
DISABLE_SSH = false
|
|
SSH_PORT = ##SSH_PORT
|
|
; Landing page for non-logged users, can be "home" or "explore"
|
|
LANDING_PAGE = explore
|
|
|
|
[mailer]
|
|
ENABLED = true
|
|
HOST = ##MAIL_SERVER:##MAIL_PORT
|
|
USER =
|
|
PASSWD =
|
|
FROM = ##MAIL_FROM
|
|
|
|
[admin]
|
|
|
|
[security]
|
|
INSTALL_LOCK = true
|
|
SECRET_KEY = ##SECRET_KEY
|
|
|
|
[service]
|
|
DISABLE_REGISTRATION = false
|
|
SHOW_REGISTRATION_BUTTON = false
|
|
ENABLE_NOTIFY_MAIL = true
|
|
|
|
[log]
|
|
; Either "console", "file", "conn", "smtp" or "database", default is "console"
|
|
MODE = console
|
|
; used for xorm.log
|
|
ROOT_PATH = /var/log/gogs
|