2022-05-16 20:23:53 +00:00
|
|
|
APP_NAME = git.netflux.io
|
|
|
|
RUN_MODE = dev
|
|
|
|
RUN_USER = git
|
|
|
|
|
|
|
|
[server]
|
|
|
|
APP_DATA_PATH = /data/gitea
|
|
|
|
PROTOCOL = http
|
|
|
|
HTTP_PORT = 3000
|
2022-05-17 18:35:05 +00:00
|
|
|
ROOT_URL = http://gitea.internal
|
|
|
|
SSH_DOMAIN = gitea.internal
|
2022-05-16 20:23:53 +00:00
|
|
|
SSH_LISTEN_PORT = 2222
|
|
|
|
SSH_PORT = 2222
|
|
|
|
START_SSH_SERVER = true
|
|
|
|
ENABLE_PPROF = false
|
2022-05-17 18:35:05 +00:00
|
|
|
DOMAIN = gitea.internal
|
2022-05-16 20:23:53 +00:00
|
|
|
OFFLINE_MODE = false
|
|
|
|
LFS_START_SERVER = true
|
|
|
|
LFS_JWT_SECRET = ebGusL71uqCv_YcAzbhoINeXMj1DtMO3q6StXHDzyi8
|
|
|
|
|
|
|
|
[log]
|
|
|
|
LEVEL = debug
|
|
|
|
|
|
|
|
[lfs]
|
|
|
|
PATH = /data/git/lfs
|
|
|
|
|
|
|
|
[repository]
|
|
|
|
ROOT = /data/git/repositories
|
|
|
|
|
|
|
|
[repository.local]
|
|
|
|
LOCAL_COPY_PATH = /tmp/gitea/local-repo
|
|
|
|
|
|
|
|
[repository.upload]
|
|
|
|
TEMP_PATH = /tmp/gitea/uploads
|
|
|
|
|
|
|
|
[attachment]
|
|
|
|
PATH = /data/gitea/attachments
|
|
|
|
|
|
|
|
[security]
|
|
|
|
INSTALL_LOCK = true
|
|
|
|
SECRET_KEY = xLajy1YZBzgL4eBVPYz8lcnnogaRM9RumGlJr7AayCnGnltwa52js7jzgJ91RZki
|
|
|
|
INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE2NTIzNTE0MDF9.MHeGn00cfFY42kmK30JKl0OVRiqTdTMEIB0zpVlkitY
|
|
|
|
LOGIN_REMEMBER_DAYS = 30
|
|
|
|
|
|
|
|
[metrics]
|
|
|
|
ENABLED = true
|
|
|
|
|
|
|
|
[oauth2]
|
|
|
|
JWT_SECRET = kkW6JNMATaBvf9tYDxQ8D3tObKVh7DbI4tBcCQQrBn8
|
|
|
|
|
|
|
|
[session]
|
|
|
|
PROVIDER = file
|
|
|
|
COOKIE_NAME = gitea_login
|
|
|
|
SAME_SITE = strict
|
|
|
|
|
|
|
|
[picture]
|
|
|
|
AVATAR_UPLOAD_PATH = /data/gitea/avatars
|
|
|
|
REPOSITORY_AVATAR_UPLOAD_PATH = /data/gitea/repo-avatars
|
|
|
|
DISABLE_GRAVATAR = false
|
|
|
|
ENABLE_FEDERATED_AVATAR = true
|
|
|
|
|
|
|
|
[service]
|
|
|
|
DISABLE_REGISTRATION = false
|
|
|
|
REQUIRE_SIGNIN_VIEW = false
|
|
|
|
REGISTER_EMAIL_CONFIRM = false
|
|
|
|
ENABLE_NOTIFY_MAIL = true
|
|
|
|
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
|
|
|
|
ENABLE_CAPTCHA = false
|
|
|
|
DEFAULT_KEEP_EMAIL_PRIVATE = true
|
|
|
|
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
|
|
|
|
DEFAULT_ENABLE_TIMETRACKING = true
|
2022-05-17 18:35:05 +00:00
|
|
|
NO_REPLY_ADDRESS = noreply.gitea.internal
|
2022-05-16 20:23:53 +00:00
|
|
|
|
|
|
|
[database]
|
|
|
|
DB_TYPE = postgres
|
|
|
|
HOST = dev-db
|
|
|
|
NAME = gitea
|
|
|
|
USER = postgres
|
2022-05-17 19:04:56 +00:00
|
|
|
PASSWD = postgres
|