module
Version:
v0.0.5
Opens a new window with list of versions in this module.
Published: Dec 19, 2022
License: Apache-2.0
Opens a new window with license information.
README
¶
ydb-docker
- project for build YDB docker container in single-node configuration
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ./artifacts/bin/ydb_certs ./cmd/ydb_certs
Build docker image
- Non-compressed binaries
docker build -t amyasnikov/ydb:latest .
- Compressed binaries
docker build -t amyasnikov/ydb:slim --build-arg COMPRESS_BINARIES=true .
Environment variables for run docker container
Name |
Type |
Default |
Description |
YDB_USE_IN_MEMORY_PDISKS |
boolean |
false |
run ydb with in-memory pdisk |
YDB_GRPC_TLS_DATA_PATH |
string |
/ydb_certs/ |
certificates directory path |
YDB_DATA_PATH |
string |
/ydb_data/ |
working directory |
YDB_DEFAULT_LOG_LEVEL |
string |
5 |
log level of ydb |
GRPC_PORT |
integer |
2136 |
grpc port |
GRPC_TLS_PORT |
integer |
2135 |
secure grpc port |
MON_PORT |
integer |
8765 |
port of embedded UI |
IC_PORT |
integer |
19001 |
port of interconnect |
YDB_PDISK_SIZE |
integer |
80 |
pdisk size in GB |
STORAGE_POOL_KIND |
string |
ssd |
storage pool kind |
STORAGE_POOL_NAME |
string |
local |
storage pool name |
Directories
¶
cmd
|
|
|
|
internal
|
|
|
|
Click to show internal directories.
Click to hide internal directories.