todo: finish wishthis service

This commit is contained in:
TheWanderingCrow 2025-07-12 01:04:58 -04:00
parent 2c168c0bfa
commit 887ad90ac7

View file

@ -0,0 +1,34 @@
{config, ...}: {
virtualisation.oci-containers = {
backend = "podman";
containers = {
"wishthis" = {
image = "wishthis:latest";
extraOptions = [
"--ip=10.88.0.15"
];
};
"wishthis-db" = {
image = "mariadb:latest";
extraOptions = [
"--ip=10.88.0.16"
];
};
};
};
services.nginx = {
enable = true;
recommendedProxySettings = true;
virtualHosts = {
"wishlist.wanderingcrow.net" = {
forceSSL = true;
useACMEHost = "wishlist.wanderingcrow.net";
locations."/" = {
proxyPass = "http://10.88.0.15:80";
proxyWebsockets = true;
};
};
};
};
}