108 lines
3.3 KiB
INI
108 lines
3.3 KiB
INI
APP_NAME = RedXen Git
|
|
RUN_MODE = prod
|
|
|
|
[server]
|
|
APP_DATA_PATH = /var/lib/gitea
|
|
SSH_DOMAIN = git.redxen.eu
|
|
SSH_PORT = 2442
|
|
SSH_LISTEN_PORT = 7571
|
|
HTTP_ADDR = ::
|
|
HTTP_PORT = 7570
|
|
ROOT_URL = https://git.redxen.eu/
|
|
DISABLE_SSH = false
|
|
START_SSH_SERVER = true
|
|
BUILTIN_SSH_SERVER_USER = git
|
|
LANDING_PAGE = explore
|
|
|
|
[repository]
|
|
ROOT = repositories
|
|
MAX_CREATION_LIMIT = -1
|
|
ENABLE_PUSH_CREATE_USER = false
|
|
ENABLE_PUSH_CREATE_ORG = true
|
|
|
|
[repository.upload]
|
|
TEMP_PATH = uploads
|
|
|
|
[repository.local]
|
|
LOCAL_COPY_PATH = tmp/local-repo
|
|
|
|
[lfs]
|
|
CONTENT_PATH = lfs
|
|
|
|
[database]
|
|
DB_TYPE = postgres
|
|
HOST = postgresql.routinginfo.internal:7550
|
|
NAME = gitea
|
|
USER = gitea
|
|
PASSWD = POSTGRESQL_GITEA_PASSWORD
|
|
|
|
[ui]
|
|
THEMES = gitea,arc-green
|
|
DEFAULT_THEME = arc-green
|
|
|
|
[ui.meta]
|
|
AUTHOR = RedXen Git - Where code is a currency
|
|
DESCRIPTION = The RedXen git is the center of development of the RedXen community.
|
|
|
|
[indexer]
|
|
REPO_INDEXER_ENABLED = true
|
|
ISSUE_INDEXER_TYPE = bleve
|
|
REPO_INDEXER_TYPE = bleve
|
|
|
|
[queue.issue_indexer]
|
|
TYPE = redis
|
|
CONN_STR = redis://redis.routinginfo.internal:7551/?db=7&pool_size=100&idle_timeout=180s
|
|
|
|
[session]
|
|
PROVIDER = redis
|
|
PROVIDER_CONFIG = redis://redis.routinginfo.internal:7551/?db=6&pool_size=100&idle_timeout=180s
|
|
COOKIE_SECURE = true
|
|
|
|
[picture]
|
|
AVATAR_UPLOAD_PATH = avatars
|
|
REPOSITORY_AVATAR_UPLOAD_PATH = repo-avatars
|
|
|
|
[attachment]
|
|
PATH = attachments
|
|
|
|
[security]
|
|
INSTALL_LOCK = true
|
|
SECRET_KEY = GITEA_SECRET_KEY
|
|
INTERNAL_TOKEN = GITEA_INTERNAL_TOKEN
|
|
IMPORT_LOCAL_PATHS = false
|
|
PASSWORD_COMPLEXITY = lower,upper,digit
|
|
PASSWORD_CHECK_PWN = true
|
|
|
|
[service]
|
|
DISABLE_REGISTRATION = true
|
|
REQUIRE_SIGNIN_VIEW = false
|
|
REGISTER_EMAIL_CONFIRM = true
|
|
NO_REPLY_ADDRESS = noreply.redxen.eu
|
|
ENABLE_USER_HEATMAP = true
|
|
|
|
[mailer]
|
|
ENABLED = true
|
|
HOST = mail.redxen.eu:465
|
|
FROM = "Gitea" <gitea@redxen.eu>
|
|
USER = gitea
|
|
PASSWD = GITEA_MAILER_PASSWD
|
|
MAILER_TYPE = smtp
|
|
IS_TLS_ENABLED = true
|
|
|
|
[log]
|
|
MODE = console
|
|
|
|
[cache]
|
|
ADAPTER = redis
|
|
HOST = redis://redis.routinginfo.internal:7551/?db=5&pool_size=100&idle_timeout=180s
|
|
ITEM_TTL = 10m
|
|
|
|
[oauth2]
|
|
JWT_SECRET = GITEA_OAUTH_JWT_TOKEN
|
|
|
|
[cron]
|
|
ENABLED = true
|
|
|
|
[metrics]
|
|
ENABLED = false
|