Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion mintlify/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@
{
"group": "Reference",
"pages": [
"reference/command-line",
"reference/error-code/core",
"reference/error-code/advisor",
"reference/schema-definition-language"
Expand Down
22 changes: 1 addition & 21 deletions mintlify/get-started/self-host/deploy-with-docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -54,28 +54,8 @@ Due to the vm mechanism of [Colima](https://github.com/abiosoft/colima), try to
```text
mkdir ~/volumes
colima start --mount ~/volumes:w
docker run --init \
--name bytebase \
--restart always \
--publish 80:8080 --pull always \
--volume ~/.bytebase/data:/var/opt/bytebase bytebase/bytebase:latest \
--data /var/opt/bytebase \
--external-url http://bytebase.example.com \
--port 8080
```

### Advanced Options

For more control over the server configuration, see [Server Startup Options](/reference/command-line).

### China Access

If accessing from China, use the mirror image:

```bash
docker run --rm --init \
--name bytebase \
--publish 8080:8080 --pull always \
--volume ~/.bytebase/data:/var/opt/bytebase \
registry.cn-shanghai.aliyuncs.com/bytebase/bytebase:latest
```
If accessing from China, use the mirror image: `registry.cn-shanghai.aliyuncs.com/bytebase/bytebase:latest`
2 changes: 1 addition & 1 deletion mintlify/get-started/self-host/external-postgres.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Configure External PostgreSQL

import TerminalDockerRunExternalUrl from '/snippets/install/terminal-docker-run-external-url.mdx';

By default, Bytebase bundles an embedded PostgreSQL instance for storing its own metadata. The metadata is stored under the [`--data`](/reference/command-line#--data-directory) directory.
By default, Bytebase bundles an embedded PostgreSQL instance for storing its own metadata. The metadata is stored under the data directory.

**For production setup, you should pass `PG_URL` environment variable to store these metadata in an external PostgreSQL database.**

Expand Down
38 changes: 0 additions & 38 deletions mintlify/reference/command-line.mdx

This file was deleted.