Update JWT_SECRET handling

This commit is contained in:
decolua
2026-05-15 09:31:34 +07:00
parent 1fd3132647
commit fe3ce25ae3
8 changed files with 24 additions and 8 deletions
+1 -1
View File
@@ -1096,7 +1096,7 @@ docker pull decolua/9router:latest # update to latest
| Variable | Default | Description |
|----------|---------|-------------|
| `JWT_SECRET` | `9router-default-secret-change-me` | JWT signing secret for dashboard auth cookie (**change in production**) |
| `JWT_SECRET` | Auto-generated (`~/.9router/jwt-secret`) | JWT signing secret for dashboard auth cookie (override to share across instances) |
| `INITIAL_PASSWORD` | `123456` | First login password when no saved hash exists |
| `DATA_DIR` | `~/.9router` | Main app data location (SQLite at `$DATA_DIR/db/data.sqlite`) |
| `PORT` | framework default | Service port (`20128` in examples) |