container/mailserver: run on srv0.home-ch
This commit is contained in:
parent
650da98422
commit
7c9f4fd766
2 changed files with 9 additions and 9 deletions
|
@ -57,6 +57,14 @@ in {
|
||||||
networking.useHostResolvConf = true;
|
networking.useHostResolvConf = true;
|
||||||
|
|
||||||
containers = {
|
containers = {
|
||||||
|
mailserver = import ../../containers/mailserver.nix {
|
||||||
|
hostAddress = "192.168.100.10";
|
||||||
|
localAddress = "192.168.100.11";
|
||||||
|
|
||||||
|
imapsPort = 993;
|
||||||
|
sievePort = 4190;
|
||||||
|
};
|
||||||
|
|
||||||
webserver = import ../../containers/webserver.nix {
|
webserver = import ../../containers/webserver.nix {
|
||||||
hostAddress = "192.168.100.12";
|
hostAddress = "192.168.100.12";
|
||||||
localAddress = "192.168.100.13";
|
localAddress = "192.168.100.13";
|
||||||
|
@ -77,6 +85,7 @@ in {
|
||||||
hostAddress = "192.168.100.16";
|
hostAddress = "192.168.100.16";
|
||||||
localAddress = "192.168.100.17";
|
localAddress = "192.168.100.17";
|
||||||
subvolumes = [
|
subvolumes = [
|
||||||
|
"mailserver"
|
||||||
"webserver"
|
"webserver"
|
||||||
"backup"
|
"backup"
|
||||||
"syncthing"
|
"syncthing"
|
||||||
|
|
|
@ -106,20 +106,11 @@ in {
|
||||||
networking.useHostResolvConf = true;
|
networking.useHostResolvConf = true;
|
||||||
|
|
||||||
containers = {
|
containers = {
|
||||||
mailserver = import ../../containers/mailserver.nix {
|
|
||||||
hostAddress = "192.168.100.10";
|
|
||||||
localAddress = "192.168.100.11";
|
|
||||||
|
|
||||||
imapsPort = 993;
|
|
||||||
sievePort = 4190;
|
|
||||||
};
|
|
||||||
|
|
||||||
backup = import ../../containers/backup.nix {
|
backup = import ../../containers/backup.nix {
|
||||||
inherit config;
|
inherit config;
|
||||||
hostAddress = "192.168.100.16";
|
hostAddress = "192.168.100.16";
|
||||||
localAddress = "192.168.100.17";
|
localAddress = "192.168.100.17";
|
||||||
subvolumes = [
|
subvolumes = [
|
||||||
"mailserver"
|
|
||||||
"backup"
|
"backup"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue