Add phoenix

This commit is contained in:
Ivan R. 2023-09-03 15:29:53 +05:00
parent 6e92e8de2e
commit 4870ccc585
No known key found for this signature in database
GPG key ID: 56C7BAAE859B302C
3 changed files with 23 additions and 0 deletions

View file

@ -45,10 +45,17 @@ in {
};
};
# Phoenix
"ph.comfycamp.space" = {
useACMEHost = "comfycamp.space";
forceSSL = true;
};
# Nextcloud
"nc.comfycamp.space" = {
useACMEHost = "comfycamp.space";
forceSSL = true;
locations."/".proxyPass = "http://127.0.0.1:55008";
};
# Jellyfin

View file

@ -0,0 +1,11 @@
{ config, ... }:
{
virtualisation.oci-containers.containers.phoenix = {
autoStart = true;
image = "ghcr.io/ordinary-dev/phoenix:v1.0.1";
ports = ["55008:80"];
volumes = [
"/var/lib/phoenix/:/var/lib/phoenix"
];
};
}

View file

@ -37,6 +37,10 @@
isSystemUser = true;
group = "freshrss";
};
phoenix = {
isSystemUser = true;
group = "phoenix";
};
};
users.groups = {
@ -48,5 +52,6 @@
plausible = {};
microboard = {};
freshrss = {};
phoenix = {};
};
}