From 022c2b91518dbb8b81615356559f314fa0b8e0e5 Mon Sep 17 00:00:00 2001 From: Omer Mecitoglu Date: Thu, 9 Jan 2025 11:10:46 +0700 Subject: [PATCH] fix: joining own networks after update --- src/core/build.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/build.ts b/src/core/build.ts index 4e48bf0..e94f57e 100644 --- a/src/core/build.ts +++ b/src/core/build.ts @@ -47,7 +47,7 @@ export async function startBuilding(service: ServiceDTO) { { ...providerVariables, ...service.environmentVariables }, service.ports, service.volumes, - service.providers.map(provider => provider.networkIds).flat(), + [...service.networkIds, ...service.providers.map(provider => provider.networkIds).flat()], ); await updateService(db, service.id, { status: "running", containerId, imageId: image.id }); }