Avoid CI Docker subnet exhaustion for the dependency stack.
CI / backend (push) Failing after 3m16s
CI / frontend (push) Canceled after 8m4s

Reuse the host bridge network in a CI compose override, prune unused networks, and isolate the job under COMPOSE_PROJECT_NAME=vigilcare-ci.
This commit is contained in:
2026-10-06 17:40:33 +08:00
parent d320a53bb7
commit 1124c1f079
5 changed files with 54 additions and 42 deletions
+9
View File
@@ -0,0 +1,9 @@
# CI override: attach deps to the host's built-in bridge instead of creating a
# new user-defined network. Busy act_runners often hit
# "all predefined address pools have been fully subnetted" when every job
# allocates a fresh subnet. Tests reach Postgres/Redis/MinIO via published
# ports on host.docker.internal, so service-name DNS is not required.
networks:
vigilcare:
external: true
name: bridge