diff --git a/content/docs/get-started/install/terminal-docker-run-simple.md b/content/docs/get-started/install/terminal-docker-run-simple.md deleted file mode 100644 index 29ca8725..00000000 --- a/content/docs/get-started/install/terminal-docker-run-simple.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: Terminal Docker Run Simple ---- - -```bash -docker run --init --publish 8080:8080 bytebase/bytebase:%%bb_version%% -``` diff --git a/content/docs/get-started/install/terminal-docker-run-volume.md b/content/docs/get-started/install/terminal-docker-run-volume.md index 1a6fd05d..73c6b7cb 100644 --- a/content/docs/get-started/install/terminal-docker-run-volume.md +++ b/content/docs/get-started/install/terminal-docker-run-volume.md @@ -3,5 +3,5 @@ title: Terminal Docker Run With Volume --- ```bash -docker run --init --publish 8080:8080 -volume ~/.bytebase/data:/var/opt/bytebase bytebase/bytebase:%%bb_version%% +docker run --init --name bytebase --publish 8080:8080 -volume ~/.bytebase/data:/var/opt/bytebase bytebase/bytebase:%%bb_version%% ``` diff --git a/content/docs/get-started/self-host.md b/content/docs/get-started/self-host.md index 93f74249..d72c4dd4 100644 --- a/content/docs/get-started/self-host.md +++ b/content/docs/get-started/self-host.md @@ -16,7 +16,7 @@ Estimated time: **5 minutes**. ### Installation - + Once you see the Bytebase logo, you can access the console at http://localhost:8080. @@ -24,12 +24,6 @@ Once you see the Bytebase logo, you can access the console at http://localhost:8 ### Configuration -#### Persist Bytebase metadata - -By default, Bytebase will store the metadata in `/var/opt/bytebase`. If you want to persist metadata across container restarts, mount the directory to your host machine, like `--volume ~/.bytebase/data:/var/opt/bytebase`. - - - #### Use external PostgreSQL to store metadata By default, Bytebase will use an embedded PostgreSQL database to store metadata. For production usage, it is recommended to use an external PostgreSQL database instead.