Skip to content

Commit 655ba56

Browse files
committed
chore: update readme with ENV
1 parent 2c3d0d5 commit 655ba56

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -315,13 +315,13 @@ Extra query parameters:
315315

316316
### Command line options
317317

318-
| Option | Description | Default |
319-
| --------- | --------------------------------------------------------------- | ---------------------------- |
320-
| demo | Run in demo mode with sample employee database | `false` |
321-
| dsn | Database connection string | Required if not in demo mode |
322-
| transport | Transport mode: `stdio` or `http` | `stdio` |
323-
| port | HTTP server port (only applicable when using `--transport=http`) | `8080` |
324-
| readonly | Restrict SQL execution to read-only operations | `false` |
318+
| Option | Environment Variable | Description | Default |
319+
| --------- | -------------------- | --------------------------------------------------------------- | ---------------------------- |
320+
| dsn | `DSN` | Database connection string | Required if not in demo mode |
321+
| transport | `TRANSPORT` | Transport mode: `stdio` or `http` | `stdio` |
322+
| port | `PORT` | HTTP server port (only applicable when using `--transport=http`) | `8080` |
323+
| readonly | `READONLY` | Restrict SQL execution to read-only operations | `false` |
324+
| demo | N/A | Run in demo mode with sample employee database | `false` |
325325

326326
The demo mode uses an in-memory SQLite database loaded with the [sample employee database](https://github.com/bytebase/dbhub/tree/main/resources/employee-sqlite) that includes tables for employees, departments, titles, salaries, department employees, and department managers. The sample database includes SQL scripts for table creation, data loading, and testing.
327327

0 commit comments

Comments
 (0)