zammad setup
This commit is contained in:
parent
0ac3bbfbe2
commit
df35107001
2 changed files with 17 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
{ lib, pkgs, config, ... }: {
|
{ lib, pkgs, config, ... }: {
|
||||||
deployment = {
|
deployment = {
|
||||||
targetHost = "192.168.178.50";
|
targetHost = "192.168.178.58";
|
||||||
targetPort = 22;
|
targetPort = 22;
|
||||||
targetUser = "root";
|
targetUser = "root";
|
||||||
};
|
};
|
||||||
|
|
@ -13,5 +13,6 @@
|
||||||
];
|
];
|
||||||
imports = [
|
imports = [
|
||||||
../container_config.nix
|
../container_config.nix
|
||||||
|
../services/zammad.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
15
configs/services/zammad.nix
Normal file
15
configs/services/zammad.nix
Normal file
|
|
@ -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
|
||||||
|
];
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue