We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a523ab commit 6e68c33Copy full SHA for 6e68c33
test/integration/docker-compose.yml
@@ -3,9 +3,14 @@ services:
3
build:
4
context: ../../
5
dockerfile: Dockerfile.test
6
- env_file:
7
- - ../../test.env
8
environment:
+ DB_HOST: db-test
+ 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
14
NOSTR_CONFIG_DIR: /code
15
volumes:
16
- ../../src:/code/src
@@ -14,7 +19,7 @@ services:
19
ports:
20
- "8008:8008"
21
command:
17
- ["sh", "-c", "whoami && pwd && ls -hall test/integration && npm run test:integration"]
22
+ ["npm", "run", "test:integration"]
18
23
depends_on:
24
db-test:
25
condition: service_healthy
0 commit comments