mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 17:54:08 -05:00
36 lines
772 B
Nix
36 lines
772 B
Nix
{config, ...}: let
|
|
volumePath = "/overseer/services";
|
|
in {
|
|
virtualisation.oci-containers = {
|
|
backend = "podman";
|
|
containers = {
|
|
"wishthis" = {
|
|
image = "hiob/wishthis:stable";
|
|
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;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|