This commit is contained in:
admin 2026-03-01 22:09:47 +00:00
parent befea2e1b3
commit 1e4fb48e25
2 changed files with 40 additions and 39 deletions

View File

@ -703,31 +703,28 @@
}; };
}; };
nginx = { # nginx = {
image = "docker.io/nginx:latest"; # image = "docker.io/nginx:latest";
autoStart = true; # autoStart = true;
autoUpdate = "registry"; # autoUpdate = "registry";
network = "vlan50"; # network = "vlan50";
environmentFile = [ # environmentFile = [
"/pool/services/secrets/default" # "/pool/services/secrets/default"
"/pool/services/secrets/nginx" # "/pool/services/secrets/nginx"
]; # ];
volumes = [ # volumes = [
"/pool/services/podman/nginx/nginx.conf:/etc/nginx/nginx.conf:ro" # "/pool/services/podman/nginx/nginx.conf:/etc/nginx/nginx.conf:ro"
"/pool/services/podman/hugo/src/mektem.com/public:/usr/share/nginx/html" # "/pool/services/podman/hugo/src/mektem.com/public:/usr/share/nginx/html"
]; # ];
ports = [ # ports = [
"888:80" # "888:80"
]; # ];
extraPodmanArgs = [ # extraConfig = {
"--privileged" # Service = {
]; # TimeoutStartSec = 900;
extraConfig = { # };
Service = { # };
TimeoutStartSec = 900; # };
};
};
};
nginx-anubis = { nginx-anubis = {
image = "ghcr.io/techarohq/anubis:latest"; image = "ghcr.io/techarohq/anubis:latest";

View File

@ -188,21 +188,25 @@
}; };
}; };
services.anki-sync-server = { virtualisation.oci-containers.containers = {
enable = true; nginx = {
address = "127.0.0.1"; image = "docker.io/nginx:latest";
#baseDirectory = "/pool/services/podman/anki-sync-server"; autoStart = true;
openFirewall = true; #autoUpdate = "registry";
users = [ network = "vlan50";
{ environmentFile = [
username = "faris"; "/pool/services/secrets/default"
passwordFile = "/pool/services/secrets/anki"; "/pool/services/secrets/nginx"
} ];
]; volumes = [
"/pool/services/podman/nginx/nginx.conf:/etc/nginx/nginx.conf:ro"
"/pool/services/podman/hugo/src/mektem.com/public:/usr/share/nginx/html"
];
ports = [
"888:80"
];
};
}; };
system.stateVersion = "24.11"; system.stateVersion = "24.11";
} }