aports/config/gitea/redxen.ini

125 lines
3.6 KiB
INI
Raw Normal View History

2022-04-02 12:28:50 +00:00
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]
2021-04-30 12:42:36 +00:00
THEMES = gitea,arc-green
2021-04-30 10:48:40 +00:00
DEFAULT_THEME = arc-green
USE_SERVICE_WORKER = true
[ui.meta]
2022-04-02 12:28:50 +00:00
AUTHOR = RedXen Git - Where code is a currency
DESCRIPTION = The RedXen git is the center of development of the RedXen community
[indexer]
2022-11-18 16:50:06 +00:00
REPO_INDEXER_ENABLED = false
[queue]
TYPE = redis
CONN_STR = redis://redis.routinginfo.internal:7551/?db=7&pool_size=100&idle_timeout=180s
[session]
PROVIDER = db
COOKIE_SECURE = true
[picture]
AVATAR_UPLOAD_PATH = avatars
REPOSITORY_AVATAR_UPLOAD_PATH = repo-avatars
2021-07-30 17:59:43 +00:00
ENABLE_FEDERATED_AVATAR = true
[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
[oauth2]
JWT_SECRET = GITEA_OAUTH_JWT_TOKEN
[cron]
ENABLED = true
[cron.git_gc_repos]
ENABLED = true
[cron.resync_all_hooks]
ENABLED = true
RUN_AT_START = true
[cron.delete_old_system_noticed]
ENABLED = true
[git]
ENABLED = true
GC_ARGS = --aggressive --auto
[metrics]
ENABLED = false
[federation]
ENABLED = true
2022-11-18 16:50:06 +00:00
[cache]
ADAPTER = redis
HOST = redis://redis.routinginfo.internal:7551/?db=5&pool_size=100&idle_timeout=180s
ITEM_TTL = 10m