mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 15:17:33 +00:00
network mode host
This commit is contained in:
@@ -3,6 +3,8 @@ services:
|
|||||||
container_name: devcontainer-login-integration
|
container_name: devcontainer-login-integration
|
||||||
env_file: ../../apps/login/.env.test
|
env_file: ../../apps/login/.env.test
|
||||||
network_mode: host
|
network_mode: host
|
||||||
|
environment:
|
||||||
|
CORE_MOCK_STUBS_URL: http://localhost:22220/v1/stubs
|
||||||
depends_on:
|
depends_on:
|
||||||
login-integration:
|
login-integration:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
@@ -22,6 +24,7 @@ services:
|
|||||||
|
|
||||||
mock-zitadel:
|
mock-zitadel:
|
||||||
container_name: mock-zitadel
|
container_name: mock-zitadel
|
||||||
|
network_mode: host
|
||||||
build:
|
build:
|
||||||
context: ../../apps/login/integration/core-mock
|
context: ../../apps/login/integration/core-mock
|
||||||
cache_from:
|
cache_from:
|
||||||
|
@@ -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) {
|
function removeStub(service: string, method: string) {
|
||||||
return cy.request({
|
return cy.request({
|
||||||
|
Reference in New Issue
Block a user