-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a module for `Gitea` self-hostded git server. It's quite usefull to test various git clients with http/https/ssh access to public and private git repos. Gitea documentation: https://docs.gitea.com/ Gitea repo: https://github.com/go-gitea/gitea
- Loading branch information
1 parent
3bb9f1b
commit f7999eb
Showing
4 changed files
with
1,009 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
APP_NAME = Gitea: Git with a cup of tea | ||
RUN_USER = git | ||
RUN_MODE = prod | ||
WORK_PATH = /var/lib/gitea | ||
|
||
[repository] | ||
ROOT = /var/lib/gitea/git/repositories | ||
|
||
[repository.local] | ||
LOCAL_COPY_PATH = /tmp/gitea/local-repo | ||
|
||
[repository.upload] | ||
TEMP_PATH = /tmp/gitea/uploads | ||
|
||
[database] | ||
PATH = /var/lib/gitea/data/gitea.db | ||
DB_TYPE = sqlite3 | ||
HOST = localhost:3306 | ||
NAME = gitea | ||
USER = root | ||
PASSWD = | ||
SCHEMA = | ||
SSL_MODE = disable | ||
LOG_SQL = false | ||
|
||
[session] | ||
PROVIDER_CONFIG = /var/lib/gitea/data/sessions | ||
PROVIDER = file | ||
|
||
[picture] | ||
AVATAR_UPLOAD_PATH = /var/lib/gitea/data/avatars | ||
REPOSITORY_AVATAR_UPLOAD_PATH = /var/lib/gitea/data/repo-avatars | ||
|
||
[attachment] | ||
PATH = /var/lib/gitea/data/attachments | ||
|
||
[log] | ||
ROOT_PATH = /var/lib/gitea/data/log | ||
MODE = console | ||
LEVEL = info | ||
|
||
[security] | ||
INSTALL_LOCK = true | ||
INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE3Mjc5Nzg5OTN9.-dbNWQlhx6rc-Xnxwl_DZmiZ6IHqpvswoPvIobIFIic | ||
|
||
[lfs] | ||
PATH = /var/lib/gitea/git/lfs | ||
|
||
[mailer] | ||
ENABLED = false | ||
|
||
[openid] | ||
ENABLE_OPENID_SIGNIN = false | ||
ENABLE_OPENID_SIGNUP = false | ||
|
||
[cron.update_checker] | ||
ENABLED = false | ||
|
||
[repository.pull-request] | ||
DEFAULT_MERGE_STYLE = merge | ||
|
||
[repository.signing] | ||
DEFAULT_TRUST_MODEL = committer | ||
|
||
[oauth2] | ||
JWT_SECRET = M-pyyTUNNwHtdfbz-1NjpAusE8ChiZtBkurxvradaBM | ||
|
||
[server] | ||
APP_DATA_PATH = /var/lib/gitea | ||
HTTP_PORT = 3000 | ||
DISABLE_SSH = false | ||
START_SSH_SERVER = true | ||
SSH_PORT = 22 | ||
SSH_LISTEN_PORT = 2222 | ||
BUILTIN_SSH_SERVER_USER = git | ||
LFS_START_SERVER = false | ||
OFFLINE_MODE = true |
Oops, something went wrong.