services: gitea fix typos

This commit is contained in:
Kabbone 2023-01-03 21:12:37 +01:00
parent e21be3d473
commit 1cadd43882
Signed by: Kabbone
SSH Key Fingerprint: SHA256:A5zPB5I6u5V78V51c362BBdCwhDhfDUVbt7NfKdjWBY

View File

@ -15,8 +15,10 @@
domain = "git2.kabtop.de";
database.type = "postgres";
database.user = "gitea";
database.name = "giteadb"
database.name = "giteadb";
database.host = "127.0.0.1";
database.passwordFile = config.age.secrets."services/gitea/databasePassword".path;
database.createDatabase = false;
appName = "Kabtop Git";
mailerPasswordFile = config.age.secrets."services/gitea/mailerPassword".path;
settings = {
@ -59,12 +61,11 @@
};
session.COOKIE_SECURE = true;
service.DISABLE_REGISTRATION = true;
service = {
REGISTER_EMAIL_CONFIRM = true;
DISABLE_REGISTRATION = true;
};
};
extraConfig = ''
[database]
HOST = 127.0.0.1:5432
'';
};
services.nginx = {
@ -79,8 +80,8 @@
forceSSL = true;
locations."/".proxyPass = "http://localhost:3000";
};
};
};
age.secrets."services/gitea/mailerPassword" = {
file = ../../../secrets/services/gitea/mailerPassword.age;
owner = "gitea";