From a39e70eb4a2d03d3e8bd6806284db3ade0484d66 Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Fri, 12 Sep 2025 01:04:53 +0000 Subject: [PATCH] ci: run `veth-config` after containers have started up (#10333) In order to make relaying reliable, we need to delay the startup of `veth-config` until all containers have booted successfully, otherwise the XDP_PASS program is not attached and relayed traffic is being dropped. --- docker-compose.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 006e1cc67..ab0e2480d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -365,6 +365,8 @@ services: # Run with DOCKER_BUILD_TARGET=dev to build Rust inside Docker client: + healthcheck: + test: ["CMD-SHELL", "ip link | grep tun-firezone"] environment: FIREZONE_DNS_CONTROL: "${FIREZONE_DNS_CONTROL:-etc-resolv-conf}" FIREZONE_TOKEN: "n.SFMyNTY.g2gDaANtAAAAJGM4OWJjYzhjLTkzOTItNGRhZS1hNDBkLTg4OGFlZjZkMjhlMG0AAAAkN2RhN2QxY2QtMTExYy00NGE3LWI1YWMtNDAyN2I5ZDIzMGU1bQAAACtBaUl5XzZwQmstV0xlUkFQenprQ0ZYTnFJWktXQnMyRGR3XzJ2Z0lRdkZnbgYAR_ywiZQBYgABUYA.PLNlzyqMSgZlbQb1QX5EzZgYNuY9oeOddP0qDkTwtGg" @@ -753,6 +755,14 @@ services: condition: "service_healthy" relay-2-router: condition: "service_healthy" + gateway-router: + condition: "service_healthy" + client-router: + condition: "service_healthy" + gateway: + condition: "service_healthy" + client: + condition: "service_healthy" otel: image: otel/opentelemetry-collector:latest