server: gitea: update config

This commit is contained in:
Kabbone 2023-04-26 19:12:25 +02:00
parent 30e72cd0ca
commit 467ee39f9e
Signed by: Kabbone
SSH Key Fingerprint: SHA256:A5zPB5I6u5V78V51c362BBdCwhDhfDUVbt7NfKdjWBY

View File

@ -8,11 +8,8 @@
services.gitea = {
enable = true;
dump.enable = true;
rootUrl = "https://git.kabtop.de";
lfs.enable = true;
httpAddress = "localhost";
dump.type = "tar.xz";
domain = "git.kabtop.de";
database.type = "postgres";
database.user = "gitea";
database.name = "giteadb";
@ -23,6 +20,9 @@
mailerPasswordFile = config.age.secrets."services/gitea/mailerPassword".path;
settings = {
server = {
ROOT_URL = "https://git.kabtop.de";
HTTP_ADDR = "localhost";
DOMAIN = "git.kabtop.de";
SSH_PORT = 2220;
ENABLE_GZIP = true;
};