File tree 4 files changed +22
-21
lines changed
4 files changed +22
-21
lines changed Original file line number Diff line number Diff line change @@ -56,8 +56,8 @@ services:
56
56
- deployment=docker
57
57
58
58
ports :
59
- - 2136:2136
60
- - 8765:8765
59
+ - 2136
60
+ - 8765
61
61
62
62
volumes :
63
63
- ydb-data:/ydb_data
@@ -134,7 +134,7 @@ services:
134
134
platform : linux/amd64
135
135
136
136
ports :
137
- - 9090:9090
137
+ - 9090
138
138
139
139
volumes :
140
140
- ../prometheus.yml:/etc/prometheus/prometheus.yml
Original file line number Diff line number Diff line change 6
6
"dockerComposeFile" : " compose.yml" ,
7
7
"workspaceFolder" : " /workspaces/ydb-js-sdk" ,
8
8
// Allows the container to use ptrace, which is useful for debugging.
9
- "capAdd" : [" SYS_PTRACE" ],
9
+ "capAdd" : [
10
+ " SYS_PTRACE"
11
+ ],
10
12
// Disables seccomp, which can be necessary for some debugging tools to function correctly.
11
- "securityOpt" : [" seccomp=unconfined" ],
13
+ "securityOpt" : [
14
+ " seccomp=unconfined"
15
+ ],
12
16
// Features to add to the dev container. More info: https://containers.dev/features.
13
17
"features" : {
14
18
"ghcr.io/devcontainers/features/git" : {},
17
21
},
18
22
// Use 'forwardPorts' to make a list of ports inside the container available locally.
19
23
"forwardPorts" : [
20
- 2136 ,
21
- 8765 ,
22
- 19001 ,
23
- 9090 ,
24
- 9464
24
+ " ydb-storage:2136" ,
25
+ " ydb-storage:8765" ,
26
+ " prometheus:9090"
25
27
],
26
28
// Use 'initializeCommand' to run commands before the container is created.
27
29
"initializeCommand" : " chmod +x .devcontainer/commands/initialize.sh && .devcontainer/commands/initialize.sh" ,
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ services:
19
19
- ../:/workspaces/ydb-js-sdk:cached
20
20
21
21
environment :
22
- - YDB_VERSION=25.1.1.3
22
+ - YDB_VERSION=25.1
23
23
- YDB_STATIC_CREDENTIALS_USER=root
24
24
- YDB_STATIC_CREDENTIALS_PASSWORD=1234
25
25
- YDB_STATIC_CREDENTIALS_ENDPOINT=grpc://ydb:2136
@@ -31,15 +31,15 @@ services:
31
31
command : sleep infinity
32
32
33
33
ydb :
34
- image : ghcr.io/ydb-platform/ local-ydb:25.1.1.3
34
+ image : ydbplatform/ local-ydb:25.1
35
35
restart : unless-stopped
36
36
hostname : ydb
37
37
platform : linux/amd64
38
38
39
39
ports :
40
- - 2135:2135
41
- - 2136:2136
42
- - 8765:8765
40
+ - 2135
41
+ - 2136
42
+ - 8765
43
43
44
44
volumes :
45
45
- ydb-data:/ydb_data
@@ -58,7 +58,7 @@ services:
58
58
platform : linux/amd64
59
59
60
60
ports :
61
- - 9090:9090
61
+ - 9090
62
62
63
63
volumes :
64
64
- ydb-certs:/ydb_certs
Original file line number Diff line number Diff line change 21
21
},
22
22
// Use 'forwardPorts' to make a list of ports inside the container available locally.
23
23
"forwardPorts" : [
24
- 2135 ,
25
- 2136 ,
26
- 8765 ,
27
- 9090 ,
28
- 9464
24
+ " ydb:2135" ,
25
+ " ydb:2136" ,
26
+ " ydb:8765" ,
27
+ " prometheus:9090"
29
28
],
30
29
// Use 'initializeCommand' to run commands before the container is created.
31
30
"initializeCommand" : " chmod +x .devcontainer/commands/initialize.sh && .devcontainer/commands/initialize.sh" ,
You can’t perform that action at this time.
0 commit comments