This repository has been archived on 2023-05-06. You can view files and clone it, but cannot push or open issues or pull requests.
helix/internal/stacks/templates/gitea/app.ini.tmpl

103 lines
2.2 KiB
Cheetah

APP_NAME = {{ .AppName }}
RUN_USER = git
RUN_MODE = {{ .RunMode }}
[repository]
ROOT = /helix/gitea/data/git/repositories
DEFAULT_BRANCH = main
[repository.local]
LOCAL_COPY_PATH = /helix/gitea/tmp/local-repo
[repository.upload]
TEMP_PATH = /helix/gitea/tmp/uploads
[repository.signing]
; Gitea will sign initial commits only if the user has a public key.
INITIAL_COMMIT = pubkey
[ui]
DEFAULT_THEME = arc-green
[server]
APP_DATA_PATH = /helix/gitea/data/git
DOMAIN = {{ .Domain }}
HTTP_ADDR = {{ .ContainerIp }}
HTTP_PORT = {{ .HttpPort }}
ROOT_URL = {{ .RootUrl }}
DISABLE_SSH = false
SSH_DOMAIN = {{ .SshDomain }}
SSH_PORT = {{ .SshPort }}
SSH_LISTEN_PORT = {{ .SshPort }}
BUILTIN_SSH_SERVER_USER = git
LFS_START_SERVER = false
LFS_CONTENT_PATH = /helix/gitea/data/git/lfs
[ssh.minimum_key_sizes]
ED25519 = 256
ECDSA = 256
RSA = 4096
DSA = -1
[database]
DB_TYPE = sqlite3
PATH = /helix/gitea/data/database/gitea.db
HOST = localhost:3306
NAME = gitea
USER = gitea
PASSWD =
[indexer]
ISSUE_INDEXER_PATH = /helix/gitea/data/indexers/issues.bleve
[session]
PROVIDER_CONFIG = /helix/gitea/data/sessions
[queue]
DATADIR = /helix/gitea/data/queues
[admin]
DISABLE_REGULAR_ORG_CREATION = true
DEFAULT_EMAIL_NOTIFICATION = disabled
[security]
INSTALL_LOCK = true
SECRET_KEY = {{ .SecretKey }}
INTERNAL_TOKEN = {{ .InternalToken }}
LOGIN_REMEMBER_DAYS = 1
MIN_PASSWORD_LENGTH = 12
PASSWORD_COMPLEXITY = lower,upper,digit
[service]
DISABLE_REGISTRATION = true
[service.explore]
REQUIRE_SIGNIN_VIEW = false
[picture]
AVATAR_UPLOAD_PATH = /helix/gitea/data/avatars
REPOSITORY_AVATAR_UPLOAD_PATH = /helix/gitea/data/repo-avatars
[attachment]
ENABLED = true
PATH = /helix/gitea/data/attachments
[log]
ROOT_PATH = /helix/gitea/data/log
MODE = console
LEVEL = {{ .LogLevel }}
[log.console]
STDERR = false
[i18n]
LANGS = en-US
NAMES = English
[other]
SHOW_FOOTER_BRANDING = true
SHOW_FOOTER_VERSION = false
SHOW_FOOTER_TEMPLATE_LOAD_TIME = false
[oauth2]
ENABLE = false