diff --git a/configs/containers/zammad_container.nix b/configs/containers/zammad_container.nix index 04c3e4d..53c0c6e 100644 --- a/configs/containers/zammad_container.nix +++ b/configs/containers/zammad_container.nix @@ -1,6 +1,6 @@ { lib, pkgs, config, ... }: { deployment = { - targetHost = "192.168.178.50"; + targetHost = "192.168.178.58"; targetPort = 22; targetUser = "root"; }; @@ -13,5 +13,6 @@ ]; imports = [ ../container_config.nix + ../services/zammad.nix ]; } diff --git a/configs/services/zammad.nix b/configs/services/zammad.nix new file mode 100644 index 0000000..d22ca16 --- /dev/null +++ b/configs/services/zammad.nix @@ -0,0 +1,15 @@ +{ lib, pkgs, config, ... }: { + services.zammad = { + enable = true; + openPorts = true; + host = "10.8.1.3"; + database.createLocally = true; + redis.createLocally = true; + }; + + + networking.firewall.allowedTCPPorts = [ + config.services.zammad.port + config.services.zammad.websocketPort + ]; +}