This commit is contained in:
muon 2026-01-02 19:36:31 +00:00
parent 8fbcb14ebf
commit 75eed912b9

View file

@ -45,7 +45,7 @@ in
"seedbox-lite_seedbox_data:/app/data:rw" "seedbox-lite_seedbox_data:/app/data:rw"
]; ];
ports = [ ports = [
"${backend-port}:3001/tcp" "${toString backend-port}:3001/tcp"
]; ];
log-driver = "journald"; log-driver = "journald";
extraOptions = [ extraOptions = [
@ -77,7 +77,7 @@ in
virtualisation.oci-containers.containers."seedbox-frontend" = { virtualisation.oci-containers.containers."seedbox-frontend" = {
image = "localhost/compose2nix/seedbox-frontend"; image = "localhost/compose2nix/seedbox-frontend";
ports = [ ports = [
"${port}:80/tcp" "${toString port}:80/tcp"
]; ];
dependsOn = [ dependsOn = [
"seedbox-backend" "seedbox-backend"
@ -169,7 +169,7 @@ in
cd /tmp cd /tmp
git clone https://github.com/hotheadhacker/seedbox-lite.git git clone https://github.com/hotheadhacker/seedbox-lite.git
cd seedbox-lite/client cd seedbox-lite/client
podman build -t compose2nix/seedbox-frontend --build-arg VITE_API_BASE_URL=http://localhost:${backend-port} . podman build -t compose2nix/seedbox-frontend --build-arg VITE_API_BASE_URL=http://localhost:${toString backend-port} .
''; '';
}; };