fix gitea

This commit is contained in:
Vivian 2023-07-28 10:40:28 +02:00
parent f522145ed0
commit 8fcd78aee0

View file

@ -52,6 +52,7 @@ in {
mailerPasswordFile = "${vs.gitea}/mailPassword"; mailerPasswordFile = "${vs.gitea}/mailPassword";
settings = { settings = {
default.WORK_PATH = "/var/lib/gitea";
actions = { "ENABLED" = true; }; actions = { "ENABLED" = true; };
repository = { repository = {
"ENABLE_PUSH_CREATE_USER" = true; "ENABLE_PUSH_CREATE_USER" = true;
@ -64,7 +65,6 @@ in {
indexer = { indexer = {
"REPO_INDEXER_ENABLED" = true; "REPO_INDEXER_ENABLED" = true;
"REPO_INDEXER_PATH" = "indexers/repos.bleve"; "REPO_INDEXER_PATH" = "indexers/repos.bleve";
"UPDATE_BUFFER_LEN" = 20;
"MAX_FILE_SIZE" = 1048576; "MAX_FILE_SIZE" = 1048576;
"REPO_INDEXER_EXCLUDE" = "node_modules/**"; "REPO_INDEXER_EXCLUDE" = "node_modules/**";
}; };
@ -86,10 +86,10 @@ in {
}; };
mailer = { mailer = {
"ENABLED" = true; "ENABLED" = true;
"IS_TLS_ENABLED" = true; # "IS_TLS_ENABLED" = true;
"HOST" = "mail.0x76.dev:465"; # "HOST" = "mail.0x76.dev:465";
"FROM" = "gitea@0x76.dev"; "FROM" = "gitea@0x76.dev";
"MAILER_TYPE" = "smtp"; # "MAILER_TYPE" = "smtp";
"USER" = "gitea@0x76.dev"; "USER" = "gitea@0x76.dev";
# Below is prep for 1.18 # Below is prep for 1.18