mirror of
https://github.com/ordinary-dev/nixos-config.git
synced 2024-09-19 19:30:28 +05:00
Enable phoenix
This commit is contained in:
parent
4870ccc585
commit
0132f7d320
|
@ -24,6 +24,7 @@
|
|||
./programs/microboard.nix
|
||||
./programs/freshrss.nix
|
||||
./programs/comfycamp.nix
|
||||
./programs/phoenix.nix
|
||||
];
|
||||
|
||||
# Enable flakes
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue