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"
];
ports = [
"${backend-port}:3001/tcp"
"${toString backend-port}:3001/tcp"
];
log-driver = "journald";
extraOptions = [
@ -77,7 +77,7 @@ in
virtualisation.oci-containers.containers."seedbox-frontend" = {
image = "localhost/compose2nix/seedbox-frontend";
ports = [
"${port}:80/tcp"
"${toString port}:80/tcp"
];
dependsOn = [
"seedbox-backend"
@ -169,7 +169,7 @@ in
cd /tmp
git clone https://github.com/hotheadhacker/seedbox-lite.git
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} .
'';
};