mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-19 01:54:44 +01:00
d99f4ab003
* Implement routes * move to api/sdk and create model * Implement add + list * List return 200 empty list no 404 * Add verify lfs lock api * Add delete and start implementing auth control * Revert to code.gitea.io/sdk/gitea vendor * Apply needed check for all lfs locks route * Add simple tests * fix lint * Improve tests * Add delete test + fix * Add lfs ascii header * Various fixes from review + remove useless code + add more corner case testing * Remove repo link since only id is needed. Save a little of memory and cpu time. * Improve tests * Use TEXT column format for path + test * fix mispell * Use NewRequestWithJSON for POST tests * Clean path * Improve DB format * Revert uniquess repoid+path * (Re)-setup uniqueness + max path length * Fixed TEXT in place of VARCHAR * Settle back to maximum VARCHAR(3072) * Let place for repoid in key * Let place for repoid in key * Let place for repoid in key * Revert back
68 lines
1.4 KiB
Go HTML Template
68 lines
1.4 KiB
Go HTML Template
APP_NAME = Gitea: Git with a cup of tea
|
|
RUN_MODE = prod
|
|
|
|
[database]
|
|
DB_TYPE = postgres
|
|
HOST = {{TEST_PGSQL_HOST}}
|
|
NAME = {{TEST_PGSQL_DBNAME}}
|
|
USER = {{TEST_PGSQL_USERNAME}}
|
|
PASSWD = {{TEST_PGSQL_PASSWORD}}
|
|
SSL_MODE = disable
|
|
PATH = data/gitea.db
|
|
|
|
[indexer]
|
|
ISSUE_INDEXER_PATH = integrations/indexers-pgsql/issues.bleve
|
|
REPO_INDEXER_ENABLED = true
|
|
REPO_INDEXER_PATH = integrations/indexers-pgsql/repos.bleve
|
|
|
|
[repository]
|
|
ROOT = integrations/gitea-integration-pgsql/gitea-repositories
|
|
|
|
[repository.local]
|
|
LOCAL_COPY_PATH = tmp/local-repo-pgsql
|
|
|
|
[server]
|
|
SSH_DOMAIN = localhost
|
|
HTTP_PORT = 3002
|
|
ROOT_URL = http://localhost:3002/
|
|
DISABLE_SSH = false
|
|
SSH_PORT = 22
|
|
LFS_START_SERVER = true
|
|
OFFLINE_MODE = false
|
|
|
|
[mailer]
|
|
ENABLED = false
|
|
|
|
[service]
|
|
REGISTER_EMAIL_CONFIRM = false
|
|
ENABLE_NOTIFY_MAIL = false
|
|
DISABLE_REGISTRATION = false
|
|
ENABLE_CAPTCHA = false
|
|
REQUIRE_SIGNIN_VIEW = false
|
|
DEFAULT_KEEP_EMAIL_PRIVATE = false
|
|
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
|
|
NO_REPLY_ADDRESS = noreply.example.org
|
|
|
|
[picture]
|
|
DISABLE_GRAVATAR = false
|
|
ENABLE_FEDERATED_AVATAR = false
|
|
|
|
[session]
|
|
PROVIDER = file
|
|
PROVIDER_CONFIG = data/sessions-pgsql
|
|
|
|
[log]
|
|
MODE = console,file
|
|
ROOT_PATH = pgsql-log
|
|
|
|
[log.console]
|
|
LEVEL = Warn
|
|
|
|
[log.file]
|
|
LEVEL = Debug
|
|
|
|
[security]
|
|
INSTALL_LOCK = true
|
|
SECRET_KEY = 9pCviYTWSb
|
|
INTERNAL_TOKEN = test
|