fix: wijzig test databases naar host gateway
This commit is contained in:
1 parent
4852847e0f
commit
4ce5f8ae56
1 file changed
+5
-2
@@ -31,9 +31,12 @@ jobs:
|
|||||||
|
|
||||||
export SKIP_ENV_VALIDATION=1
|
export SKIP_ENV_VALIDATION=1
|
||||||
export NODE_ENV=test
|
export NODE_ENV=test
|
||||||
export DATABASE_URL="mysql://test:test@localhost:3306/test?charset=utf8mb4"
|
|
||||||
|
# OPLOSSING: We wijzen naar de MySQL en Redis van de host machine via de Docker gateway
|
||||||
|
export DATABASE_URL="mysql://test:[email protected]:3306/test?charset=utf8mb4"
|
||||||
|
export REDIS_URL="redis://172.17.0.1:6379?connect_timeout=2"
|
||||||
|
|
||||||
export AUTH_SECRET="ci-test-secret-key-that-is-long-enough"
|
export AUTH_SECRET="ci-test-secret-key-that-is-long-enough"
|
||||||
export REDIS_URL="redis://127.0.0.1:6379?connect_timeout=1"
|
|
||||||
export BCRYPT_ROUNDS=4
|
export BCRYPT_ROUNDS=4
|
||||||
|
|
||||||
pnpm install --frozen-lockfile
|
pnpm install --frozen-lockfile
|
||||||
|
|||||||
Reference in new issue
Block a user