mirror of
https://github.com/ordinary-dev/nixos-config.git
synced 2024-09-19 19:30:28 +05:00
Add phoenix
This commit is contained in:
parent
6e92e8de2e
commit
4870ccc585
|
@ -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
|
||||
|
|
11
nixos/programs/phoenix.nix
Normal file
11
nixos/programs/phoenix.nix
Normal 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"
|
||||
];
|
||||
};
|
||||
}
|
|
@ -37,6 +37,10 @@
|
|||
isSystemUser = true;
|
||||
group = "freshrss";
|
||||
};
|
||||
phoenix = {
|
||||
isSystemUser = true;
|
||||
group = "phoenix";
|
||||
};
|
||||
};
|
||||
|
||||
users.groups = {
|
||||
|
@ -48,5 +52,6 @@
|
|||
plausible = {};
|
||||
microboard = {};
|
||||
freshrss = {};
|
||||
phoenix = {};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue