-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #93 from YunoHost-Apps/manifestv2_improvements
Manifestv2 improvements
- Loading branch information
Showing
134 changed files
with
652 additions
and
1,850 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,87 +1,113 @@ | ||
;https://github.com/gogits/gogs/blob/master/conf/app.ini | ||
;https://github.com/go-gitea/gitea/blob/release/v1.20/custom/conf/app.example.ini | ||
APP_NAME = Gitea | ||
RUN_USER = __APP__ | ||
RUN_MODE = prod | ||
WORK_PATH = __INSTALL_DIR__ | ||
|
||
[actions] | ||
ENABLED = true | ||
ENABLED = false | ||
|
||
[database] | ||
DB_TYPE = mysql | ||
HOST = 127.0.0.1:3306 | ||
NAME = __DB_USER__ | ||
NAME = __DB_NAME__ | ||
USER = __DB_USER__ | ||
PASSWD = __DB_PASSWORD__ | ||
PASSWD = __DB_PWD__ | ||
SSL_MODE = disable | ||
PATH = data/gitea.db | ||
LOG_SQL = false | ||
LOG_SQL = false | ||
|
||
[repository] | ||
ROOT = __REPOS_PATH__ | ||
ROOT = __DATA_DIR__/repositories | ||
FORCE_PRIVATE = false | ||
|
||
[server] | ||
DOMAIN = __DOMAIN__ | ||
HTTP_PORT = __PORT__ | ||
HTTP_ADDR = 127.0.0.1 | ||
ROOT_URL = https://__DOMAIN____PATH_URL__ | ||
DISABLE_SSH = false | ||
SSH_PORT = __SSH_PORT__ | ||
DOMAIN = __DOMAIN__ | ||
HTTP_PORT = __PORT__ | ||
HTTP_ADDR = 127.0.0.1 | ||
ROOT_URL = https://__DOMAIN____PATH__ | ||
DISABLE_SSH = false | ||
SSH_PORT = __SSH_PORT__ | ||
OFFLINE_MODE = false | ||
APP_DATA_PATH = __DATA_PATH__ | ||
APP_DATA_PATH = __DATA_DIR__/data | ||
LANDING_PAGE = explore | ||
LFS_START_SERVER = true | ||
LFS_JWT_SECRET = __LFS_KEY__ | ||
LFS_JWT_SECRET = __LFS_JWT_SECRET__ | ||
|
||
[mailer] | ||
ENABLED = true | ||
SMTP_ADDR = 127.0.0.1 | ||
SMTP_PORT = 25 | ||
FROM = "Gitea" <gitea-noreply@__DOMAIN__> | ||
SMTP_ADDR = localhost | ||
SMTP_PORT = 587 | ||
PROTOCOL = smtp+starttls | ||
FROM = "Gitea" <__APP__@__DOMAIN__> | ||
USER = __APP__ | ||
PASSWD = __MAIL_PWD__ | ||
FORCE_TRUST_SERVER_CERT = true | ||
|
||
[email.incoming] | ||
ENABLED = true | ||
REPLY_TO_ADDRESS = __APP__+%{token}@__DOMAIN__ | ||
HOST = localhost | ||
PORT = 993 | ||
USE_TLS = true | ||
SKIP_TLS_VERIFY = true | ||
USERNAME = __APP__ | ||
PASSWORD = __MAIL_PWD__ | ||
|
||
[service] | ||
REGISTER_EMAIL_CONFIRM = false | ||
ENABLE_NOTIFY_MAIL = true | ||
DISABLE_REGISTRATION = true | ||
ENABLE_CAPTCHA = false | ||
REQUIRE_SIGNIN_VIEW = false | ||
ENABLE_REVERSE_PROXY_AUTHENTICATION = true | ||
ENABLE_REVERSE_PROXY_AUTO_REGISTRATION = true | ||
ENABLE_NOTIFY_MAIL = true | ||
DISABLE_REGISTRATION = true | ||
ENABLE_CAPTCHA = false | ||
REQUIRE_SIGNIN_VIEW = false | ||
# reverse proxy authentication disabled until https://github.com/go-gitea/gitea/pull/18452 is merged | ||
# as it broke completely the LDAP sync | ||
ENABLE_REVERSE_PROXY_AUTHENTICATION = false | ||
ENABLE_REVERSE_PROXY_AUTO_REGISTRATION = false | ||
|
||
[picture] | ||
AVATAR_UPLOAD_PATH = __DATA_PATH__/avatars | ||
AVATAR_UPLOAD_PATH = __DATA_DIR__/data/avatars | ||
|
||
[attachment] | ||
PATH = __DATA_PATH__/attachments | ||
PATH = __DATA_DIR__/data/attachments | ||
|
||
[session] | ||
PROVIDER = memory | ||
|
||
[log] | ||
MODE = file | ||
LEVEL = Info | ||
MODE = file | ||
LEVEL = Info | ||
ROOT_PATH = /var/log/__APP__ | ||
logger.access.MODE = | ||
logger.access.MODE = | ||
logger.router.MODE = router | ||
logger.xorm.MODE = xorm | ||
|
||
REDIRECT_MACARON_LOG= true | ||
MACARON = file | ||
REDIRECT_MACARON_LOG = true | ||
MACARON = file | ||
|
||
[log.file] | ||
FILE_NAME = gitea.log | ||
LEVEL = Info | ||
|
||
[log.router] | ||
MODE = file | ||
FILE_NAME = router.log | ||
LEVEL = Warn | ||
|
||
[log.xorm] | ||
MODE = file | ||
FILE_NAME = xorm.log | ||
LEVEL = Warn | ||
|
||
[security] | ||
INSTALL_LOCK = true | ||
SECRET_KEY = __KEY__ | ||
SECRET_KEY = __SECRET_KEY__ | ||
REVERSE_PROXY_AUTHENTICATION_USER = REMOTE-USER | ||
REVERSE_PROXY_TRUSTED_PROXIES = 127.0.0.0/8,::1/128 | ||
REVERSE_PROXY_TRUSTED_PROXIES = 127.0.0.0/8,::1/128 | ||
INTERNAL_TOKEN = __INTERNAL_TOKEN__ | ||
|
||
[oauth2] | ||
JWT_SECRET = __JWT_SECRET__ | ||
|
||
[cron.sync_external_users] | ||
ENABLED = true | ||
RUN_AT_START = false |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.