blob: eac175da2ff4c70fba842d9916006d4dcadfb753 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/bash
set -x
INIT_YDB_SCRIPT=/init_ydb
export YDB_GRPC_ENABLE_TLS="true"
export GRPC_TLS_PORT=${GRPC_TLS_PORT:-2135}
export GRPC_PORT=${GRPC_PORT:-2136}
export YDB_GRPC_TLS_DATA_PATH="/ydb_certs"
# Start local_ydb tool. Pass additional arguments for local_ydb
/local_ydb deploy --ydb-working-dir /ydb_data --ydb-binary-path /ydbd --fixed-ports --dont-use-log-files "$@";
if [ -f "$INIT_YDB_SCRIPT" ]; then
sh "$INIT_YDB_SCRIPT";
fi
tail -f /dev/null
|