mirror of
https://github.com/YunoHost-Apps/gogs_ynh.git
synced 2024-09-03 20:36:23 +02:00
Update app.ini
This commit is contained in:
parent
6983ebd524
commit
d38f97b167
1 changed files with 9 additions and 5 deletions
14
conf/app.ini
14
conf/app.ini
|
@ -1,31 +1,35 @@
|
|||
;https://github.com/gogits/gogs/blob/master/conf/app.ini
|
||||
APP_NAME = Gogs
|
||||
BRAND_NAME = Gogs
|
||||
RUN_USER = __APP__
|
||||
RUN_MODE = prod
|
||||
|
||||
[server]
|
||||
EXTERNAL_URL = https://__URL__/
|
||||
DOMAIN = __DOMAIN__
|
||||
HTTP_PORT = __PORT__
|
||||
EXTERNAL_URL = https://__URL__/
|
||||
HTTP_ADDR = 127.0.0.1
|
||||
OFFLINE_MODE = false
|
||||
DISABLE_SSH = false
|
||||
SSH_PORT = 22
|
||||
APP_DATA_PATH = __DATADIR__/data
|
||||
LANDING_PAGE = explore
|
||||
CERT_FILE = /etc/yunohost/certs/__DOMAIN__/crt.pem
|
||||
KEY_FILE = /etc/yunohost/certs/__DOMAIN__/key.pem
|
||||
|
||||
[repository]
|
||||
ROOT = __DATADIR__/repositories
|
||||
FORCE_PRIVATE = false
|
||||
|
||||
[repository.editor]
|
||||
LINE_WRAP_EXTENSIONS = .txt,.md,.markdown,.mdown,.mkd
|
||||
PREVIEWABLE_FILE_MODES = markdown
|
||||
|
||||
[database]
|
||||
DB_TYPE = mysql
|
||||
HOST = 127.0.0.1:3306
|
||||
NAME = __DB_NAME__
|
||||
USER = __DB_USER__
|
||||
PASSWD = __DB_PWD__
|
||||
SSL_MODE = disable
|
||||
PATH = data/gogs.db
|
||||
|
||||
[security]
|
||||
INSTALL_LOCK = true
|
||||
|
@ -41,7 +45,7 @@ REQUIRE_SIGNIN_VIEW = false
|
|||
ENABLE_REVERSE_PROXY_AUTHENTICATION = false
|
||||
ENABLE_REVERSE_PROXY_AUTO_REGISTERATION = false
|
||||
|
||||
[mailer]
|
||||
[email]
|
||||
ENABLED = true
|
||||
HOST = 127.0.0.1:25
|
||||
FROM = "Gogs" <gogs-noreply@__DOMAIN__>
|
||||
|
|
Loading…
Add table
Reference in a new issue