APP_NAME = Gitea
RUN_USER = git
RUN_MODE = prod
WORK_PATH = /mnt/volume/gitea

[server]
PROTOCOL         = http
DOMAIN           = %%GITEA_DOMAIN%%
ROOT_URL         = %%GITEA_ROOT_URL%%
HTTP_ADDR        = 0.0.0.0
HTTP_PORT        = 3000
SSH_DOMAIN       = %%GITEA_DOMAIN%%
START_SSH_SERVER = true
SSH_PORT         = 2222
SSH_LISTEN_PORT  = 2222
LFS_START_SERVER = true
APP_DATA_PATH    = /mnt/volume/gitea/data
DISABLE_SSH      = false
LFS_JWT_SECRET   = %%LFS_JWT_SECRET%%

[database]
DB_TYPE  = postgres
HOST     = %%DB_HOST%%:%%DB_PORT%%
NAME     = %%DB_NAME%%
USER     = %%DB_USER%%
PASSWD   = %%DB_PASSWORD%%
SSL_MODE = disable
SCHEMA   = public

[repository]
ROOT = /mnt/volume/gitea/data/gitea-repositories

[lfs]
PATH = /mnt/volume/gitea/data/lfs

[log]
ROOT_PATH = /mnt/volume/gitea/log
MODE      = console
LEVEL     = info

[service]
DISABLE_REGISTRATION              = true
REQUIRE_SIGNIN_VIEW               = false
DEFAULT_KEEP_EMAIL_PRIVATE        = true
DEFAULT_ALLOW_CREATE_ORGANIZATION = true

[security]
INSTALL_LOCK   = true
SECRET_KEY     = %%SECRET_KEY%%
INTERNAL_TOKEN = %%INTERNAL_TOKEN%%

[oauth2]
JWT_SECRET = %%JWT_SECRET%%

[session]
PROVIDER = file
