mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 15:37:33 +00:00
docker network
This commit is contained in:
@@ -2,9 +2,9 @@ services:
|
|||||||
devcontainer:
|
devcontainer:
|
||||||
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
|
|
||||||
environment:
|
environment:
|
||||||
CORE_MOCK_STUBS_URL: http://localhost:22220/v1/stubs
|
CORE_MOCK_STUBS_URL: http://mock-zitadel:22220/v1/stubs
|
||||||
|
ZITADEL_API_URL: http://mock-zitadel:22222
|
||||||
depends_on:
|
depends_on:
|
||||||
login-integration:
|
login-integration:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
@@ -13,18 +13,17 @@ services:
|
|||||||
container_name: login-integration
|
container_name: login-integration
|
||||||
image: "${LOGIN_TAG:-zitadel-login:local}"
|
image: "${LOGIN_TAG:-zitadel-login:local}"
|
||||||
env_file: ../../apps/login/.env.test
|
env_file: ../../apps/login/.env.test
|
||||||
network_mode: host
|
|
||||||
environment:
|
environment:
|
||||||
NODE_ENV: test
|
NODE_ENV: test
|
||||||
PORT: 3001
|
PORT: 3001
|
||||||
NEXT_PUBLIC_BASE_PATH: /ui/v2/login
|
NEXT_PUBLIC_BASE_PATH: /ui/v2/login
|
||||||
|
ZITADEL_API_URL: http://mock-zitadel:22222
|
||||||
depends_on:
|
depends_on:
|
||||||
mock-zitadel:
|
mock-zitadel:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
|
|
||||||
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
|
||||||
additional_contexts:
|
additional_contexts:
|
||||||
|
Reference in New Issue
Block a user