add caddy, podman, foundry vtt, and dokuwiki
This commit is contained in:
parent
7aa50aa403
commit
8beedcf05e
3 changed files with 54 additions and 0 deletions
20
hosts/lab/foundry.nix
Normal file
20
hosts/lab/foundry.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ ... }:
|
||||
{
|
||||
services.caddy.virtualHosts."foundry.ily.rs" = {
|
||||
extraConfig = ''
|
||||
reverse_proxy localhost:30000
|
||||
encode zstd gzip
|
||||
'';
|
||||
};
|
||||
|
||||
virtualisation.oci-containers.containers.foundry = {
|
||||
image = "node:22-slim";
|
||||
cmd = [ "node" "main.js" "--dataPath=/data" ];
|
||||
workdir = "/app";
|
||||
volumes = [
|
||||
"/srv/foundry/app:/app:ro"
|
||||
"/srv/foundry/data:/data"
|
||||
];
|
||||
ports = [ "127.0.0.1:30000:30000" ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue