File tree Expand file tree Collapse file tree 2 files changed +15
-13
lines changed Expand file tree Collapse file tree 2 files changed +15
-13
lines changed Original file line number Diff line number Diff line change
1
+ name : ydb-python-sdk
2
+
1
3
volumes :
2
4
ydb-data :
3
5
# driver: local
@@ -19,9 +21,10 @@ services:
19
21
- ../:/workspaces/ydb-python-sdk:cached
20
22
21
23
environment :
22
- - YDB_IMAGE_VERSION=24.3
23
- - YDB_CREDENTIALS_USER=root
24
- - YDB_CREDENTIALS_PASSWORD=1234
24
+ - YDB_VERSION=25.1
25
+ - YDB_STATIC_CREDENTIALS_USER=root
26
+ - YDB_STATIC_CREDENTIALS_PASSWORD=1234
27
+ - YDB_STATIC_CREDENTIALS_ENDPOINT=grpc://ydb:2136
25
28
- YDB_CONNECTION_STRING=grpc://ydb:2136/local
26
29
- YDB_CONNECTION_STRING_SECURE=grpcs://ydb:2135/local
27
30
- YDB_SSL_ROOT_CERTIFICATES_FILE=/ydb_certs/ca.pem
@@ -30,15 +33,15 @@ services:
30
33
command : sleep infinity
31
34
32
35
ydb :
33
- image : ghcr.io/ydb-platform/ local-ydb:24.3
36
+ image : ydbplatform/ local-ydb:25.1
34
37
restart : unless-stopped
35
38
hostname : ydb
36
39
platform : linux/amd64
37
40
38
41
ports :
39
- - 2135:2135
40
- - 2136:2136
41
- - 8765:8765
42
+ - 2135
43
+ - 2136
44
+ - 8765
42
45
43
46
volumes :
44
47
- ydb-data:/ydb_data
Original file line number Diff line number Diff line change 15
15
"features" : {
16
16
"ghcr.io/devcontainers/features/git" : {},
17
17
"ghcr.io/devcontainers/features/common-utils" : {},
18
- "ghcr.io/devcontainers/features/github-cli:1" : {}
18
+ "ghcr.io/devcontainers/features/github-cli:1" : {},
19
+ "ghcr.io/devcontainers/features/docker-outside-of-docker:1" : {}
19
20
},
20
21
// Use 'forwardPorts' to make a list of ports inside the container available locally.
21
22
"forwardPorts" : [
22
- 2135 ,
23
- 2136 ,
24
- 8765 ,
25
- 9090 ,
26
- 9464
23
+ " ydb:2135" ,
24
+ " ydb:2136" ,
25
+ " ydb:8765"
27
26
],
28
27
// Use 'initializeCommand' to run commands before the container is created.
29
28
"initializeCommand" : " chmod +x .devcontainer/commands/initialize.sh && .devcontainer/commands/initialize.sh" ,
You can’t perform that action at this time.
0 commit comments