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 = {
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/";
}
];

View File

@ -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";