Skip to content

Commit 6e68c33

Browse files
committed
chore(ci): remove dep on test.env
1 parent 7a523ab commit 6e68c33

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

test/integration/docker-compose.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,14 @@ services:
33
build:
44
context: ../../
55
dockerfile: Dockerfile.test
6-
env_file:
7-
- ../../test.env
86
environment:
7+
DB_HOST: db-test
8+
DB_PORT: 5432
9+
DB_NAME: nostr_ts_relay_test
10+
DB_USER: postgres
11+
DB_PASSWORD: postgres
12+
DB_MIN_POOL_SIZE: 1
13+
DB_MAX_POOL_SIZE: 2
914
NOSTR_CONFIG_DIR: /code
1015
volumes:
1116
- ../../src:/code/src
@@ -14,7 +19,7 @@ services:
1419
ports:
1520
- "8008:8008"
1621
command:
17-
["sh", "-c", "whoami && pwd && ls -hall test/integration && npm run test:integration"]
22+
["npm", "run", "test:integration"]
1823
depends_on:
1924
db-test:
2025
condition: service_healthy

0 commit comments

Comments
 (0)