création site Factorio

This commit is contained in:
nyanloutre 2019-01-22 11:03:01 +01:00
parent eaf0c9e955
commit b4f345b1c5
1 changed files with 6 additions and 0 deletions

View File

@ -9,6 +9,7 @@ let
pgmanage_port = 52347; pgmanage_port = 52347;
max_port = 52348; max_port = 52348;
musique_port = 52349; musique_port = 52349;
factorio_port = 52351;
in in
{ {
@ -60,6 +61,7 @@ in
"pgmanage.${domaine}" = { ip = "127.0.0.1"; port = pgmanage_port; auth = true; }; "pgmanage.${domaine}" = { ip = "127.0.0.1"; port = pgmanage_port; auth = true; };
"gitea.${domaine}" = { ip = "127.0.0.1"; port = 3001; auth = false; }; "gitea.${domaine}" = { ip = "127.0.0.1"; port = 3001; auth = false; };
"ci.${domaine}" = { ip = "127.0.0.1"; port = 52350; auth = false; }; "ci.${domaine}" = { ip = "127.0.0.1"; port = 52350; auth = false; };
"factorio.${domaine}" = { ip = "127.0.0.1"; port = factorio_port; auth = false; };
}; };
}; };
@ -210,6 +212,10 @@ in
listen = [ { addr = "127.0.0.1"; port = riot_port; } ]; listen = [ { addr = "127.0.0.1"; port = riot_port; } ];
locations = { "/" = { root = pkgs.riot-web; }; }; locations = { "/" = { root = pkgs.riot-web; }; };
}; };
"factorio" = {
listen = [ { addr = "127.0.0.1"; port = factorio_port; } ];
locations = { "/" = { root = "/var/www/factorio"; }; };
};
}; };
}; };