initialize_local_ydb 427 B

1234567891011121314151617
  1. #!/bin/bash
  2. INIT_YDB_SCRIPT=/init_ydb
  3. export YDB_LOCAL_SURVIVE_RESTART="true"
  4. export YDB_GRPC_ENABLE_TLS="true"
  5. export GRPC_TLS_PORT=${GRPC_TLS_PORT:-2135}
  6. export GRPC_PORT=${GRPC_PORT:-2136}
  7. export YDB_GRPC_TLS_DATA_PATH="/ydb_certs"
  8. /local_ydb deploy --ydb-working-dir /ydb_data --ydb-binary-path /ydbd --fixed-ports --dont-use-log-files;
  9. if [ -f "$INIT_YDB_SCRIPT" ]; then
  10. sh "$INIT_YDB_SCRIPT";
  11. fi
  12. tail -f /dev/null