This repository has been archived on 2020-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
git.autonomic.zone/ansible/templates/app.ini.j2
2020-03-22 12:04:47 +01:00

60 lines
1.3 KiB
Django/Jinja

APP_NAME = Gitea: Git with a cup of tea
RUN_MODE = {{ RUN_MODE }}
[repository]
ROOT = /data/git/repositories
[repository.local]
LOCAL_COPY_PATH = /data/gitea/tmp/local-repo
[repository.upload]
TEMP_PATH = /data/gitea/uploads
[server]
APP_DATA_PATH = /data/gitea
SSH_DOMAIN = localhost
HTTP_PORT = 3000
ROOT_URL =
DISABLE_SSH = false
SSH_PORT = 22
SSH_LISTEN_PORT = 22
LFS_START_SERVER = false
LFS_CONTENT_PATH = /data/git/lfs
[database]
PATH = /data/gitea/gitea.db
DB_TYPE = sqlite3
[indexer]
ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve
[session]
PROVIDER_CONFIG = /data/gitea/sessions
[picture]
AVATAR_UPLOAD_PATH = /data/gitea/avatars
REPOSITORY_AVATAR_UPLOAD_PATH = /data/gitea/repo-avatars
[attachment]
PATH = /data/gitea/attachments
[log]
ROOT_PATH = /data/gitea/log
[security]
INSTALL_LOCK = true
SECRET_KEY = {{ SECRET_KEY }}
INTERNAL_TOKEN = {{ INTERNAL_TOKEN }}
[service]
ALLOW_ONLY_EXTERNAL_REGISTRATION = {{ ALLOW_ONLY_EXTERNAL_REGISTRATION }}
DISABLE_REGISTRATION = {{ DISABLE_REGISTRATION }}
REQUIRE_SIGNIN_VIEW = {{ REQUIRE_SIGNIN_VIEW }}
[oauth2]
JWT_SECRET = {{ JWT_SECRET }}
[openid]
ENABLE_OPENID_SIGNIN = {{ ENABLE_OPENID_SIGNIN }}
ENABLE_OPENID_SIGNUP = {{ ENABLE_OPENID_SIGNUP }}