Skip to content

Commit d84cc72

Browse files
authored
docs: change default docker image for dev in README (#1007)
1 parent bba245f commit d84cc72

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

README.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ You can preview working UI using YDB docker image. It will be UI with the latest
1212
Run on a machine with Docker installed:
1313

1414
```
15-
docker pull cr.yandex/yc/yandex-docker-local-ydb
16-
docker run -dp 8765:8765 cr.yandex/yc/yandex-docker-local-ydb
15+
docker pull ghcr.io/ydb-platform/local-ydb:nightly
16+
docker run -dp 8765:8765 ghcr.io/ydb-platform/local-ydb:nightly
1717
```
1818

1919
Open http://localhost:8765 to view it in the browser.
@@ -25,7 +25,7 @@ Open http://localhost:8765 to view it in the browser.
2525
docker run --rm -ti --name ydb-local -h localhost \
2626
-p 8765:8765 \
2727
-e MON_PORT=8765 \
28-
cr.yandex/yc/yandex-docker-local-ydb:latest
28+
ghcr.io/ydb-platform/local-ydb:nightly
2929
```
3030
2. Install dependencies with `npm ci`
3131
3. Run the frontend app in the development mode, via invoking `npm run dev`
@@ -38,11 +38,8 @@ For API reference, open Swagger UI on http://localhost:8765/viewer/api/.
3838

3939
[Docs on YDB docker images](https://ydb.tech/en/docs/getting_started/self_hosted/ydb_docker)
4040

41-
Image `cr.yandex/yc/yandex-docker-local-ydb` corresponds to `:latest` tag. It's the latest stable ydb version.
42-
43-
To test new features, you can use ydb version that is currently in testing mode with `cr.yandex/yc/yandex-docker-local-ydb:edge` image
44-
or use a build from `main` brunch with `ghcr.io/ydb-platform/local-ydb:nightly` image.
45-
Also you can set specific version like `cr.yandex/yc/yandex-docker-local-ydb:23.1`
41+
To test new features, you can use ydb version built from `main` brunch with `ghcr.io/ydb-platform/local-ydb:nightly` image.
42+
Also you can set specific version like `ghcr.io/ydb-platform/local-ydb:24.1`
4643

4744
### Custom configuration in dev mode with .env file
4845

@@ -105,7 +102,7 @@ npm run test:e2e
105102

106103
### CI
107104

108-
E2E tests are run in CI in `e2e_tests` job. Tests run on Playwright `webServer` (it is started with `npm run dev`), `webServer` uses docker container `cr.yandex/yc/yandex-docker-local-ydb` as backend.
105+
E2E tests are run in CI in `e2e_tests` job. Tests run on Playwright `webServer` (it is started with `npm run dev`), `webServer` uses docker container `ghcr.io/ydb-platform/local-ydb:nightly` as backend.
109106

110107
## Making a production bundle.
111108

@@ -118,7 +115,7 @@ To test production bundle with latest YDB backend release, do the following:
118115

119116
1. Install dependencies with `npm ci`
120117
2. Build a production bundle with a few tweaks for embedded version: `npm run build:embedded`.
121-
3. Invoke `docker run -it --hostname localhost -dp 2135:2135 -p 8765:8765 -v ~/projects/ydb-embedded-ui/build:/ydb_data/node_1/content/monitoring cr.yandex/yc/yandex-docker-local-ydb:latest`
118+
3. Invoke `docker run -it --hostname localhost -dp 2135:2135 -p 8765:8765 -v ~/projects/ydb-embedded-ui/build:/ydb_data/node_1/content/monitoring ghcr.io/ydb-platform/local-ydb:nightly`
122119
4. Open [embedded YDB UI](http://localhost:8765/monitoring) to view it in the browser.
123120

124121
### Testing production bundle with specific cluster host

0 commit comments

Comments
 (0)