network mode host

This commit is contained in:
Elio Bischof
2025-07-29 18:42:07 +02:00
parent 908bf93c67
commit ffbeeade79
6 changed files with 16 additions and 13 deletions

View File

@@ -2,13 +2,13 @@ services:
devcontainer:
container_name: devcontainer-login-integration
env_file: ../../apps/login/.env.test
network_mode: service:mock-zitadel
network_mode: host
login-integration:
container_name: login-integration
image: "${LOGIN_TAG:-zitadel-login:local}"
env_file: ../../apps/login/.env.test
network_mode: service:mock-zitadel
network_mode: host
environment:
NODE_ENV: test
PORT: 3001
@@ -22,7 +22,3 @@ services:
- type=gha
cache_to:
- type=gha,mode=max
ports:
- 22220:22220
- 22222:22222
- 3001:3001

View File

@@ -3,7 +3,7 @@
"name": "Login Integration Hot Reload Container - Debug and Fix Pull Request Checks",
"dockerComposeFile": [
"../base/docker-compose.yaml",
"../login-integration/docker-compose.yaml",
"../login-integration-ci/docker-compose.yaml",
"docker-compose.yaml"
],
"service": "login-integration",

View File

@@ -1,6 +1,13 @@
services:
login-integration:
container_name: login-integration-debug
network_mode: service:mock-zitadel
extends:
file: ../login-integration/docker-compose.yaml
file: ../login-integration-ci/docker-compose.yaml
service: devcontainer
mock-zitadel:
ports:
- 22220:22220
- 22222:22222
- 3001:3001