bluh
This commit is contained in:
parent
befea2e1b3
commit
1e4fb48e25
@ -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";
|
||||
|
||||
@ -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";
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user