2021-09-01 22:04:40 +01:00
|
|
|
APP_NAME = {{ .AppName }}
|
|
|
|
RUN_USER = git
|
|
|
|
RUN_MODE = {{ .RunMode }}
|
2021-06-30 06:03:02 +01:00
|
|
|
|
|
|
|
[repository]
|
2021-09-01 22:04:40 +01:00
|
|
|
ROOT = /helix/gitea/data/git/repositories
|
2021-06-30 06:03:02 +01:00
|
|
|
DEFAULT_BRANCH = main
|
|
|
|
|
|
|
|
[repository.local]
|
2021-09-01 22:04:40 +01:00
|
|
|
LOCAL_COPY_PATH = /helix/gitea/tmp/local-repo
|
2021-06-30 06:03:02 +01:00
|
|
|
|
|
|
|
[repository.upload]
|
2021-09-01 22:04:40 +01:00
|
|
|
TEMP_PATH = /helix/gitea/tmp/uploads
|
2021-06-30 06:03:02 +01:00
|
|
|
|
|
|
|
[repository.signing]
|
|
|
|
; Gitea will sign initial commits only if the user has a public key.
|
|
|
|
INITIAL_COMMIT = pubkey
|
|
|
|
|
|
|
|
[ui]
|
|
|
|
DEFAULT_THEME = arc-green
|
|
|
|
|
|
|
|
[server]
|
2021-09-01 22:04:40 +01:00
|
|
|
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
|
2021-06-30 06:03:02 +01:00
|
|
|
|
|
|
|
[ssh.minimum_key_sizes]
|
|
|
|
ED25519 = 256
|
|
|
|
ECDSA = 256
|
|
|
|
RSA = 4096
|
|
|
|
DSA = -1
|
|
|
|
|
|
|
|
[database]
|
|
|
|
DB_TYPE = sqlite3
|
2021-09-01 22:04:40 +01:00
|
|
|
PATH = /helix/gitea/data/database/gitea.db
|
|
|
|
HOST = localhost:3306
|
|
|
|
NAME = gitea
|
|
|
|
USER = gitea
|
|
|
|
PASSWD =
|
2021-06-30 06:03:02 +01:00
|
|
|
|
|
|
|
[indexer]
|
2021-09-01 22:04:40 +01:00
|
|
|
ISSUE_INDEXER_PATH = /helix/gitea/data/indexers/issues.bleve
|
2021-06-30 06:03:02 +01:00
|
|
|
|
|
|
|
[session]
|
2021-09-01 22:04:40 +01:00
|
|
|
PROVIDER_CONFIG = /helix/gitea/data/sessions
|
2021-06-30 06:03:02 +01:00
|
|
|
|
|
|
|
[queue]
|
2021-09-01 22:04:40 +01:00
|
|
|
DATADIR = /helix/gitea/data/queues
|
2021-06-30 06:03:02 +01:00
|
|
|
|
|
|
|
[admin]
|
|
|
|
DISABLE_REGULAR_ORG_CREATION = true
|
|
|
|
DEFAULT_EMAIL_NOTIFICATION = disabled
|
|
|
|
|
|
|
|
[security]
|
|
|
|
INSTALL_LOCK = true
|
2021-09-01 22:04:40 +01:00
|
|
|
SECRET_KEY = {{ .SecretKey }}
|
|
|
|
INTERNAL_TOKEN = {{ .InternalToken }}
|
2021-06-30 06:03:02 +01:00
|
|
|
LOGIN_REMEMBER_DAYS = 1
|
|
|
|
MIN_PASSWORD_LENGTH = 12
|
|
|
|
PASSWORD_COMPLEXITY = lower,upper,digit
|
|
|
|
|
|
|
|
[service]
|
2021-09-01 22:04:40 +01:00
|
|
|
DISABLE_REGISTRATION = true
|
|
|
|
|
|
|
|
[service.explore]
|
|
|
|
REQUIRE_SIGNIN_VIEW = false
|
2021-06-30 06:03:02 +01:00
|
|
|
|
|
|
|
[picture]
|
2021-09-01 22:04:40 +01:00
|
|
|
AVATAR_UPLOAD_PATH = /helix/gitea/data/avatars
|
|
|
|
REPOSITORY_AVATAR_UPLOAD_PATH = /helix/gitea/data/repo-avatars
|
2021-06-30 06:03:02 +01:00
|
|
|
|
|
|
|
[attachment]
|
|
|
|
ENABLED = true
|
2021-09-01 22:04:40 +01:00
|
|
|
PATH = /helix/gitea/data/attachments
|
2021-06-30 06:03:02 +01:00
|
|
|
|
|
|
|
[log]
|
2021-09-01 22:04:40 +01:00
|
|
|
ROOT_PATH = /helix/gitea/data/log
|
2021-06-30 06:03:02 +01:00
|
|
|
MODE = console
|
2021-09-01 22:04:40 +01:00
|
|
|
LEVEL = {{ .LogLevel }}
|
2021-06-30 06:03:02 +01:00
|
|
|
|
|
|
|
[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
|
2021-09-01 22:04:40 +01:00
|
|
|
|
|
|
|
[oauth2]
|
|
|
|
ENABLE = false
|