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 = {
image = "docker.io/nginx:latest";
autoStart = true;
autoUpdate = "registry";
network = "vlan50";
environmentFile = [
"/pool/services/secrets/default"
"/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"
];
extraPodmanArgs = [
"--privileged"
];
extraConfig = {
Service = {
TimeoutStartSec = 900;
};
};
};
# nginx = {
# image = "docker.io/nginx:latest";
# autoStart = true;
# autoUpdate = "registry";
# network = "vlan50";
# environmentFile = [
# "/pool/services/secrets/default"
# "/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"
# ];
# extraConfig = {
# Service = {
# TimeoutStartSec = 900;
# };
# };
# };
nginx-anubis = {
image = "ghcr.io/techarohq/anubis:latest";

View File

@ -188,21 +188,25 @@
};
};
services.anki-sync-server = {
enable = true;
address = "127.0.0.1";
#baseDirectory = "/pool/services/podman/anki-sync-server";
openFirewall = true;
users = [
{
username = "faris";
passwordFile = "/pool/services/secrets/anki";
}
];
virtualisation.oci-containers.containers = {
nginx = {
image = "docker.io/nginx:latest";
autoStart = true;
#autoUpdate = "registry";
network = "vlan50";
environmentFile = [
"/pool/services/secrets/default"
"/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";
}