add caddy, podman, foundry vtt, and dokuwiki

This commit is contained in:
Lewis Wynne 2026-04-04 19:55:54 +01:00
parent 7aa50aa403
commit 8beedcf05e
3 changed files with 54 additions and 0 deletions

23
hosts/lab/dokuwiki.nix Normal file
View file

@ -0,0 +1,23 @@
{ ... }:
{
services.caddy.virtualHosts."wiki.wynne.rs" = {
extraConfig = ''
reverse_proxy localhost:8070
encode zstd gzip
'';
};
virtualisation.oci-containers.containers.dokuwiki = {
image = "lscr.io/linuxserver/dokuwiki:latest";
environment = {
PUID = "1000";
PGID = "1000";
TZ = "Europe/London";
};
volumes = [
"/srv/dokuwiki/config:/config"
"/srv/dokuwiki/cont-init.d:/custom-cont-init.d:ro"
];
ports = [ "127.0.0.1:8070:80" ];
};
}