forgejo-notifications-core/integration/conf/app.ini

114 lines
2.4 KiB
INI
Raw Normal View History

2023-09-18 20:44:19 +05:30
; SPDX-FileCopyrightText: 2023 Aravinth Manivannan <realaravinth@batsense.net>
2023-09-18 20:59:40 +05:30
;
2023-09-18 20:44:19 +05:30
; SPDX-License-Identifier: AGPL-3.0-or-later
APP_NAME = Forgejo:+Beyond+Coding+We+Forge
RUN_USER = git
RUN_MODE = prod
2023-09-18 20:59:40 +05:30
WORK_PATH = /data/gitea
[cors]
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; ;
; ; More information about CORS can be found here: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#The_HTTP_response_headers
; ; enable cors headers (disabled by default)
2023-09-18 20:59:40 +05:30
ENABLED = true
; ;
; ; scheme of allowed requests
; SCHEME = http
; ;
; ; list of requesting domains that are allowed
2023-09-18 20:59:40 +05:30
ALLOW_DOMAIN = *
; ;
; ; allow subdomains of headers listed above to request
; ALLOW_SUBDOMAIN = false
; ;
; ; list of methods allowed to request
2023-09-18 20:59:40 +05:30
METHODS = GET,HEAD,POST,PUT,PATCH,DELETE,OPTIONS
; ;
; ; max time to cache response
; MAX_AGE = 10m
; ;
; ; allow request with credentials
ALLOW_CREDENTIALS = true
; ;
; ; headers to permit
2023-09-18 20:59:40 +05:30
HEADERS = Content-Type,User-Agent
[federation]
ENABLED = true
[database]
2023-09-18 20:59:40 +05:30
DB_TYPE = sqlite3
HOST = localhost:3306
NAME = forgejo
USER = root
PASSWD =
SCHEMA =
SSL_MODE = disable
2023-09-18 20:59:40 +05:30
CHARSET = utf8
PATH = /data/gitea/gitea.db
LOG_SQL = false
[repository]
ROOT = /data/git/repositories
[server]
2023-09-18 20:59:40 +05:30
SSH_DOMAIN = localhost
DOMAIN = localhost
HTTP_PORT = 3000
ROOT_URL = http://localhost:3000/
DISABLE_SSH = false
SSH_PORT = 22
LFS_START_SERVER = true
2023-09-18 20:59:40 +05:30
LFS_JWT_SECRET = J38QUokkI8qtDatFMChy6dDqwGPRtn-I5bn6hs1gpA8
OFFLINE_MODE = false
[lfs]
PATH = /data/git/lfs
[mailer]
ENABLED = false
[service]
2023-09-18 20:59:40 +05:30
REGISTER_EMAIL_CONFIRM = false
ENABLE_NOTIFY_MAIL = false
DISABLE_REGISTRATION = false
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
ENABLE_CAPTCHA = false
REQUIRE_SIGNIN_VIEW = false
DEFAULT_KEEP_EMAIL_PRIVATE = false
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
2023-09-18 20:59:40 +05:30
DEFAULT_ENABLE_TIMETRACKING = true
NO_REPLY_ADDRESS = noreply.localhost
[picture]
ENABLE_FEDERATED_AVATAR = true
[openid]
ENABLE_OPENID_SIGNIN = true
ENABLE_OPENID_SIGNUP = true
[session]
PROVIDER = file
[log]
2023-09-18 20:59:40 +05:30
MODE = console
LEVEL = info
ROOT_PATH = /data/gitea/log
2023-09-18 20:59:40 +05:30
ROUTER = console
[repository.pull-request]
DEFAULT_MERGE_STYLE = merge
[repository.signing]
DEFAULT_TRUST_MODEL = committer
[security]
2023-09-18 20:59:40 +05:30
INSTALL_LOCK = true
INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE2OTUwNDM4MzR9.OXP0MrWVJQb-3RFPcVPK7eDSPbMzc-lTjLkWjzZVouM
PASSWORD_HASH_ALGO = pbkdf2
2023-09-18 20:59:40 +05:30
[oauth2]
JWT_SECRET = Cx6QQekcNbTO5viT791CMafI_GvsiQtvLZWYaSUR-Fs