mirror of
https://git.sr.ht/~magic_rb/cluster
synced 2024-12-12 01:42:03 +01:00
04b5465e95
Signed-off-by: Magic_RB <magic_rb@redalder.org>
86 lines
2.3 KiB
Smarty
86 lines
2.3 KiB
Smarty
# -*- mode: conf; -*-
|
|
|
|
APP_NAME = Red Alder Gitea
|
|
RUN_MODE = prod
|
|
RUN_USER = gitea
|
|
|
|
[repository]
|
|
ROOT = /data/gitea/git/repositories
|
|
|
|
[repository.local]
|
|
LOCAL_COPY_PATH = /data/gitea/tmp/local-repo
|
|
|
|
[repository.upload]
|
|
TEMP_PATH = /data/gitea/gitea/uploads
|
|
|
|
[server]
|
|
APP_DATA_PATH = /data/gitea
|
|
SSH_DOMAIN = localhost
|
|
HTTP_PORT = 3000
|
|
ROOT_URL = https://gitea.redalder.org/
|
|
DISABLE_SSH = false
|
|
SSH_PORT = 22
|
|
SSH_LISTEN_PORT = 22
|
|
LFS_START_SERVER = true
|
|
LFS_CONTENT_PATH = /data/gitea/git/lfs
|
|
DOMAIN = localhost
|
|
LFS_JWT_SECRET = {{ with secret "kv/data/gitea" }}{{ .Data.data.lfs_jwt_secret }}{{ end }}
|
|
OFFLINE_MODE = false
|
|
|
|
[database]
|
|
DB_TYPE = mysql
|
|
HOST = {{ env "NOMAD_HOST_ADDR_db" }}
|
|
NAME = gitea
|
|
USER = {{ with secret "kv/data/gitea" }}{{ .Data.data.db_user }}{{ end }}
|
|
PASSWD = {{ with secret "kv/data/gitea" }}{{ .Data.data.db_passwd }}{{ end }}
|
|
SCHEMA =
|
|
SSL_MODE = disable
|
|
CHARSET = utf8
|
|
|
|
[indexer]
|
|
ISSUE_INDEXER_PATH = /data/gitea/gitea/indexers/issues.bleve
|
|
REPO_INDEXER_PATH = /data/gitea/gitea/indexers/repos.bleve
|
|
|
|
[session]
|
|
PROVIDER_CONFIG = /data/gitea/gitea/sessions
|
|
PROVIDER = file
|
|
|
|
[picture]
|
|
AVATAR_UPLOAD_PATH = /data/gitea/gitea/avatars
|
|
REPOSITORY_AVATAR_UPLOAD_PATH = /data/gitea/gitea/repo-avatars
|
|
DISABLE_GRAVATAR = false
|
|
ENABLE_FEDERATED_AVATAR = true
|
|
|
|
[attachment]
|
|
PATH = /data/gitea/gitea/attachments
|
|
|
|
[security]
|
|
INSTALL_LOCK = true
|
|
SECRET_KEY = {{ with secret "kv/data/gitea" }}{{ .Data.data.secret_key }}{{ end }}
|
|
INTERNAL_TOKEN = {{ with secret "kv/data/gitea" }}{{ .Data.data.internal_token }}{{ end }}
|
|
|
|
[service]
|
|
DISABLE_REGISTRATION = false
|
|
REQUIRE_SIGNIN_VIEW = false
|
|
REGISTER_EMAIL_CONFIRM = false
|
|
ENABLE_NOTIFY_MAIL = false
|
|
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
|
|
ENABLE_CAPTCHA = false
|
|
DEFAULT_KEEP_EMAIL_PRIVATE = false
|
|
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
|
|
DEFAULT_ENABLE_TIMETRACKING = true
|
|
NO_REPLY_ADDRESS = noreply.localhost
|
|
|
|
[oauth2]
|
|
JWT_SECRET = {{ with secret "kv/data/gitea" }}{{ .Data.data.jwt_secret }}{{ end }}
|
|
|
|
[mailer]
|
|
ENABLED = false
|
|
|
|
[openid]
|
|
ENABLE_OPENID_SIGNIN = true
|
|
ENABLE_OPENID_SIGNUP = true
|
|
|
|
[log]
|
|
MODE = console
|
|
LEVEL = Debug
|