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
23
hosts/lab/dokuwiki.nix
Normal file
23
hosts/lab/dokuwiki.nix
Normal 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" ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue