79 lines
1.8 KiB
INI
79 lines
1.8 KiB
INI
APP_NAME = git.netflux.io
|
|
RUN_MODE = dev
|
|
RUN_USER = git
|
|
|
|
[server]
|
|
APP_DATA_PATH = /data/gitea
|
|
PROTOCOL = http
|
|
HTTP_PORT = 3000
|
|
ROOT_URL = http://gitea.internal
|
|
SSH_DOMAIN = gitea.internal
|
|
SSH_LISTEN_PORT = 2222
|
|
SSH_PORT = 2222
|
|
START_SSH_SERVER = true
|
|
ENABLE_PPROF = false
|
|
DOMAIN = gitea.internal
|
|
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
|
|
NO_REPLY_ADDRESS = noreply.gitea.internal
|
|
|
|
[database]
|
|
DB_TYPE = postgres
|
|
HOST = dev-db
|
|
NAME = gitea
|
|
USER = postgres
|
|
PASSWD = postgres
|