gitea-app/app.ini.template

58 lines
1.4 KiB
Plaintext
Raw Normal View History

2015-04-29 00:12:16 +00:00
; App name that shows on every page title
APP_NAME = Gogs: Go Git Service
; Change it if you run locally
RUN_USER = cloudron
; Either "dev", "prod" or "test", default is "dev"
RUN_MODE = prod
[repository]
ROOT = /app/data
SCRIPT_TYPE = bash
[server]
2015-04-29 02:29:12 +00:00
PROTOCOL = http
2015-04-29 00:12:16 +00:00
DOMAIN = ##HOSTNAME
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
; Disable SSH feature when not available
DISABLE_SSH = false
SSH_PORT = ##SSH_PORT
; Landing page for non-logged users, can be "home" or "explore"
LANDING_PAGE = explore
[database]
; Either "mysql", "postgres" or "sqlite3", it's your choice
DB_TYPE = mysql
HOST = ##MYSQL_HOST:##MYSQL_PORT
NAME = ##MYSQL_DATABASE
USER = ##MYSQL_USERNAME
PASSWD = ##MYSQL_PASSWORD
2015-04-29 02:29:12 +00:00
[admin]
[security]
INSTALL_LOCK = true
2015-04-29 00:12:16 +00:00
[mailer]
ENABLED = true
; Name displayed in mail title
SUBJECT = %(APP_NAME)s
; Mail server
; Gmail: smtp.gmail.com:587
; QQ: smtp.qq.com:25
; Note, if the port ends with "465", SMTPS will be used. Using STARTTLS on port 587 is recommended per RFC 6409. If the server supports STARTTLS it will always be used.
2015-04-29 02:29:12 +00:00
HOST = ##MAIL_SERVER:##MAIL_PORT
2015-04-29 00:12:16 +00:00
; Do not verify the certificate of the server. Only use this for self-signed certificates
SKIP_VERIFY =
; Use client certificate
USE_CERTIFICATE = false
CERT_FILE =
KEY_FILE =
; Mail from address, RFC 5322. This can be just an email address, or the "Name" <email@example.com> format
FROM = ##MAIL_FROM
; Mailer user name and password
USER =
PASSWD =