remove test instance of foundry

This commit is contained in:
Cyryl Płotnicki 2022-06-18 12:23:29 +01:00
parent 2a1631daac
commit b6fa2fd007

View file

@ -34,25 +34,6 @@ in {
}; };
}; };
containers.foundryvtt1 = {
autoStart = true;
forwardPorts = [{
containerPort = 30001;
hostPort = 30001;
}];
config = { config, pkgs, ... }: {
systemd.services."foundryvtt" = {
requires = [ "network-online.target" ];
wantedBy = [ "multi-user.target" ];
script = ''
mkdir -p /var/lib/foundryvtt
${pkgs.nodejs-18_x}/bin/node ${foundryvtt}/resources/app/main.js --dataPath=/var/lib/foundryvtt --port=30001
'';
serviceConfig.Restart = "always";
};
};
};
containers.foundryvtt = { containers.foundryvtt = {
autoStart = true; autoStart = true;
forwardPorts = [{ forwardPorts = [{