##
##  app.ini -- Gitea global configuration
##

APP_NAME                 = Gitea: Git Repository Hosting Service
RUN_USER                 = @l_rusr@
RUN_MODE                 = prod

[repository]
ROOT                     = @l_prefix@/var/gitea/repo

[server]
PROTOCOL                 = http
DOMAIN                   = localhost
ROOT_URL                 = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/
HTTP_ADDR                = 127.0.0.1
HTTP_PORT                = 3000
DISABLE_SSH              = false
START_SSH_SERVER         = true
SSH_PORT                 = 2222
SSH_DOMAIN               = %(DOMAIN)s
SSH_LISTEN_PORT          = %(SSH_PORT)s
SSH_KEYGEN_PATH          = @l_prefix@/bin/ssh-keygen
STATIC_ROOT_PATH         = @l_prefix@/share/gitea
ENABLE_GZIP              = true
OFFLINE_MODE             = false
LANDING_PAGE             = home
LFS_START_SERVER         = true
LFS_CONTENT_PATH         = @l_prefix@/var/gitea/lfs
LFS_JWT_SECRET           = haBEwb94DFrrAR_sXBRxL5BgihZy9bTkh4XBuVJhOlk

[database]
DB_TYPE                  = sqlite3
HOST                     =
NAME                     =
USER                     =
PASSWD                   =
PATH                     = @l_prefix@/var/gitea/db/gitea.db

[admin]

[security]
INSTALL_LOCK             = false
SECRET_KEY               = !#@FDEWREWR&*(

[service]
REGISTER_EMAIL_CONFIRM   = false
DISABLE_REGISTRATION     = false
SHOW_REGISTRATION_BUTTON = true
REQUIRE_SIGNIN_VIEW      = false
ENABLE_NOTIFY_MAIL       = true

[mailer]
ENABLED                  = false
SUBJECT                  = %(APP_NAME)s
HOST                     = localhost:25
FROM                     = "Gitea" <gitea@example.com>

[log]
ROOT_PATH                = @l_prefix@/var/gitea/log
MODE                     = file
BUFFER_LEN               = 10000
LEVEL                    = Trace

[other]
SHOW_FOOTER_BRANDING     = true
SHOW_FOOTER_VERSION      = true

