network mode host

This commit is contained in:
Elio Bischof
2025-07-29 20:07:05 +02:00
parent babb2e5d7e
commit 02ce3a508d
2 changed files with 4 additions and 1 deletions

View File

@@ -3,6 +3,8 @@ services:
container_name: devcontainer-login-integration
env_file: ../../apps/login/.env.test
network_mode: host
environment:
CORE_MOCK_STUBS_URL: http://localhost:22220/v1/stubs
depends_on:
login-integration:
condition: service_healthy
@@ -22,6 +24,7 @@ services:
mock-zitadel:
container_name: mock-zitadel
network_mode: host
build:
context: ../../apps/login/integration/core-mock
cache_from:

View File

@@ -1,4 +1,4 @@
const url = Cypress.env("CORE_MOCK_STUBS_URL") || "http://mock-zitadel:22220/v1/stubs";
const url = Cypress.env("CORE_MOCK_STUBS_URL") || "http://localhost:22220/v1/stubs";
function removeStub(service: string, method: string) {
return cy.request({