From 80cff4278d9f62681b8ad1c723dc82d951a994a9 Mon Sep 17 00:00:00 2001 From: Sascha Koenig Date: Mon, 12 May 2025 09:52:01 +0200 Subject: [PATCH] port changes for gitea --- hosts/m3-atlas/services/gitea.nix | 9 ++++++--- hosts/m3-atlas/services/paperless.nix | 1 + 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/hosts/m3-atlas/services/gitea.nix b/hosts/m3-atlas/services/gitea.nix index 0736079..f6f12fd 100644 --- a/hosts/m3-atlas/services/gitea.nix +++ b/hosts/m3-atlas/services/gitea.nix @@ -2,8 +2,11 @@ services.gitea = { enable = true; settings = { - server.ROOT_URL = "https://code.m3ta.dev"; - service.DISABLE_REGISTRATION = true; + server = { + ROOT_URL = "https://code.m3ta.dev"; + HTTP_PORT = 3030; + DISABLE_REGISTRATION = true; + }; }; lfs.enable = true; dump = { @@ -17,7 +20,7 @@ services.traefik.dynamicConfigOptions.http = { services.gitea.loadBalancer.servers = [ { - url = "http://localhost:3000/"; + url = "http://localhost:3030/"; } ]; diff --git a/hosts/m3-atlas/services/paperless.nix b/hosts/m3-atlas/services/paperless.nix index 3159487..335c119 100644 --- a/hosts/m3-atlas/services/paperless.nix +++ b/hosts/m3-atlas/services/paperless.nix @@ -4,6 +4,7 @@ port = 3012; database.createLocally = true; passwordFile = config.age.secrets.paperless-key.path; + configureTika = true; settings = { PAPERLESS_URL = "https://pl.m3ta.dev"; DATABASE_URL = "postgresql://paperless:paperless@localhost:5432/paperless";