Enable phoenix

This commit is contained in:
Ivan R. 2023-09-03 15:33:35 +05:00
parent 4870ccc585
commit 0132f7d320
No known key found for this signature in database
GPG key ID: 56C7BAAE859B302C
3 changed files with 8 additions and 3 deletions

View file

@ -24,6 +24,7 @@
./programs/microboard.nix
./programs/freshrss.nix
./programs/comfycamp.nix
./programs/phoenix.nix
];
# Enable flakes

View file

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

View file

@ -3,9 +3,13 @@
virtualisation.oci-containers.containers.phoenix = {
autoStart = true;
image = "ghcr.io/ordinary-dev/phoenix:v1.0.1";
ports = ["55008:80"];
ports = ["55009:8080"];
user = "984:980";
environmentFiles = [
"/var/lib/phoenix/.env"
];
volumes = [
"/var/lib/phoenix/:/var/lib/phoenix"
"/var/lib/phoenix:/var/lib/phoenix"
];
};
}