-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (39 loc) · 820 Bytes
/
docker-compose.yml
File metadata and controls
45 lines (39 loc) · 820 Bytes
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
version: '3.7'
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
- YDB_CERTS=/ydb_certs
volumes:
- ydb_certs:/ydb_certs
networks:
- local
database:
image: cr.yandex/yc/yandex-docker-local-ydb:latest
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"
volumes:
- ydb_certs:/ydb_certs
networks:
- local
networks:
local:
driver: bridge
volumes:
ydb_certs: