move some redis servers around

This commit is contained in:
Rouven Seifert 2025-04-28 15:19:43 +02:00
parent 7056803ef5
commit 4d18a49ca1
Signed by: rouven.seifert
SSH key fingerprint: SHA256:WedRxwyCvqwDG6cd16qf/fizYDK1pvN4p5bawXlnKk0
4 changed files with 14 additions and 6 deletions

View file

@ -1,4 +1,4 @@
{ config, ... }:
{ config, lib, ... }:
let
domain = "tickets.${config.networking.domain}";
in
@ -9,11 +9,18 @@ in
createLocally = true;
type = "PostgreSQL";
};
redis.port = 6380;
port = 8085;
secretKeyBaseFile = config.sops.secrets."zammad_secret".path;
};
services.redis = {
servers.zammad = {
port = lib.mkForce 6380;
enable = true;
};
};
# disably spammy logs
systemd.services.zammad-web.preStart = ''
sed -i -e "s|debug|warn|" ./config/environments/production.rb