update foundry
This commit is contained in:
parent
265563968f
commit
a39fd43b74
3 changed files with 6 additions and 41 deletions
|
@ -1,3 +0,0 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dfe67763205be1c07993d17cb793c81aac0eb315c76e70b579334f8dd819a479
|
||||
size 200331927
|
3
nixos/boxes/vpsfree1/FoundryVTT-10.291.zip
Normal file
3
nixos/boxes/vpsfree1/FoundryVTT-10.291.zip
Normal file
|
@ -0,0 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2ef7c2082f92ad57ade92cf08b28a3323141bb5453f342e27baa227a31963d49
|
||||
size 200873934
|
|
@ -7,9 +7,9 @@
|
|||
}: let
|
||||
foundryvtt = pkgs.fetchzip {
|
||||
name = "foundryvtt";
|
||||
url = "file:///" + ./FoundryVTT-10.290.zip;
|
||||
url = "file:///" + ./FoundryVTT-10.291.zip;
|
||||
postFetch = "";
|
||||
sha256 = "sha256-G4GK76MgDnHsg9dC9Urrww9guJCUTgvMeNzGQ6ez+AQ=";
|
||||
sha256 = "sha256-DqRKu99xCjzrYalpICD7b0Kf3sqtXaxbL1G2sEgfFDc=";
|
||||
stripRoot = false;
|
||||
};
|
||||
in {
|
||||
|
@ -27,16 +27,6 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
virtualHosts = {
|
||||
"foundryvtt-test.peninsula.industries" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:30001";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
containers.foundryvtt = {
|
||||
|
@ -58,7 +48,7 @@ in {
|
|||
pkgs,
|
||||
...
|
||||
}: {
|
||||
system.stateVersion = "22.05";
|
||||
system.stateVersion = "22.11";
|
||||
systemd.services."foundryvtt" = {
|
||||
requires = ["network-online.target"];
|
||||
wantedBy = ["multi-user.target"];
|
||||
|
@ -70,29 +60,4 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
containers.foundryvtt-test = {
|
||||
autoStart = true;
|
||||
forwardPorts = [
|
||||
{
|
||||
containerPort = 30001;
|
||||
hostPort = 30001;
|
||||
}
|
||||
];
|
||||
config = {
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
system.stateVersion = "22.05";
|
||||
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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue