-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
69 lines (62 loc) · 1.36 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
69 lines (62 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
services:
test:
command: bun run test
build:
context: ./
dockerfile: ./docker/test.dockerfile
depends_on:
- database
restart: "no"
image: ydb-orm:test
environment:
- NODE_ENV=test
- YDB_ENDPOINT=grpc://database:2136
- YDB_DATABASE=/local
networks:
- local
test-nodejs:
command: npm run test:nodejs
build:
context: ./
dockerfile: ./docker/test.nodejs.dockerfile
depends_on:
- database
restart: "no"
image: ydb-orm:test-nodejs
environment:
- NODE_ENV=test
- YDB_ENDPOINT=grpc://database:2136
- YDB_DATABASE=/local
networks:
- local
test-smoke:
command: npm run test:smoke
build:
context: ./
dockerfile: ./docker/test.nodejs.dockerfile
depends_on:
- database
restart: "no"
image: ydb-orm:package-smoke
environment:
- NODE_ENV=test
- YDB_ENDPOINT=grpc://database:2136
- YDB_DATABASE=/local
networks:
- local
database:
image: ydbplatform/local-ydb:26.2.1
platform: linux/amd64
hostname: ${YDB_HOSTNAME:-database}
environment:
- YDB_USE_IN_MEMORY_PDISKS=true
- YDB_DEFAULT_LOG_LEVEL=WARN
- GRPC_TLS_PORT=2135
- GRPC_PORT=2136
- MON_PORT=8765
restart: "no"
networks:
- local
networks:
local:
driver: bridge