Skip to content

Commit

Permalink
fix: joining own networks after update
Browse files Browse the repository at this point in the history
  • Loading branch information
omermecitoglu committed Jan 9, 2025
1 parent 05c27e5 commit 022c2b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
}
Expand Down

0 comments on commit 022c2b9

Please sign in to comment.