mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-22 19:42:08 +00:00
use network_mode host for e2e container
This commit is contained in:
@@ -7,11 +7,15 @@ services:
|
|||||||
command: 'start-from-init --masterkey "MasterkeyNeedsToHave32Characters" --tlsMode disabled'
|
command: 'start-from-init --masterkey "MasterkeyNeedsToHave32Characters" --tlsMode disabled'
|
||||||
environment:
|
environment:
|
||||||
ZITADEL_EXTERNALSECURE: false
|
ZITADEL_EXTERNALSECURE: false
|
||||||
|
ZITADEL_DATABASE_COCKROACH_HOST: db
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
db:
|
db:
|
||||||
condition: 'service_healthy'
|
condition: 'service_healthy'
|
||||||
network_mode: "host"
|
ports:
|
||||||
|
- '8080:8080'
|
||||||
|
networks:
|
||||||
|
- zitadel
|
||||||
|
|
||||||
db:
|
db:
|
||||||
restart: 'always'
|
restart: 'always'
|
||||||
@@ -23,7 +27,11 @@ services:
|
|||||||
timeout: '30s'
|
timeout: '30s'
|
||||||
retries: 5
|
retries: 5
|
||||||
start_period: '20s'
|
start_period: '20s'
|
||||||
network_mode: "host"
|
ports:
|
||||||
|
- '9090:8080'
|
||||||
|
- '26257:26257'
|
||||||
|
networks:
|
||||||
|
- zitadel
|
||||||
|
|
||||||
npm-install:
|
npm-install:
|
||||||
image: node:18-alpine3.15
|
image: node:18-alpine3.15
|
||||||
@@ -44,7 +52,7 @@ services:
|
|||||||
working_dir: /e2e
|
working_dir: /e2e
|
||||||
volumes:
|
volumes:
|
||||||
- .:/e2e
|
- .:/e2e
|
||||||
network_mode: "host"
|
network_mode: host
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
zitadel:
|
zitadel:
|
||||||
|
9
e2e/tsconfig.json
Normal file
9
e2e/tsconfig.json
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"baseUrl": "./",
|
||||||
|
"target": "es5",
|
||||||
|
"lib": ["es5", "dom", "es2015"],
|
||||||
|
"types": ["cypress", "node"]
|
||||||
|
},
|
||||||
|
"include": ["**/*.ts"]
|
||||||
|
}
|
Reference in New Issue
Block a user