port changes for gitea

This commit is contained in:
Sascha Koenig 2025-05-12 09:52:01 +02:00
parent f33bfec02e
commit 80cff4278d
2 changed files with 7 additions and 3 deletions

View File

@ -2,8 +2,11 @@
services.gitea = { services.gitea = {
enable = true; enable = true;
settings = { settings = {
server.ROOT_URL = "https://code.m3ta.dev"; server = {
service.DISABLE_REGISTRATION = true; ROOT_URL = "https://code.m3ta.dev";
HTTP_PORT = 3030;
DISABLE_REGISTRATION = true;
};
}; };
lfs.enable = true; lfs.enable = true;
dump = { dump = {
@ -17,7 +20,7 @@
services.traefik.dynamicConfigOptions.http = { services.traefik.dynamicConfigOptions.http = {
services.gitea.loadBalancer.servers = [ services.gitea.loadBalancer.servers = [
{ {
url = "http://localhost:3000/"; url = "http://localhost:3030/";
} }
]; ];

View File

@ -4,6 +4,7 @@
port = 3012; port = 3012;
database.createLocally = true; database.createLocally = true;
passwordFile = config.age.secrets.paperless-key.path; passwordFile = config.age.secrets.paperless-key.path;
configureTika = true;
settings = { settings = {
PAPERLESS_URL = "https://pl.m3ta.dev"; PAPERLESS_URL = "https://pl.m3ta.dev";
DATABASE_URL = "postgresql://paperless:paperless@localhost:5432/paperless"; DATABASE_URL = "postgresql://paperless:paperless@localhost:5432/paperless";