docs: add missing SURREAL_NAMESPACE and SURREAL_DATABASE env vars
The inline docker-compose example in README and the environment variable reference tables in installation docs were missing these two required variables, causing connection failures for users who copy-pasted the examples instead of downloading the actual file. Closes #592
This commit is contained in:
parent
08441a3c7b
commit
c7a457ee78
3 changed files with 6 additions and 0 deletions
|
|
@ -132,6 +132,8 @@ services:
|
|||
- SURREAL_URL=ws://surrealdb:8000/rpc
|
||||
- SURREAL_USER=root
|
||||
- SURREAL_PASSWORD=root
|
||||
- SURREAL_NAMESPACE=open_notebook
|
||||
- SURREAL_DATABASE=open_notebook
|
||||
volumes:
|
||||
- ./notebook_data:/app/data
|
||||
depends_on:
|
||||
|
|
|
|||
|
|
@ -194,6 +194,8 @@ Configure Ollama in the Settings UI:
|
|||
| `SURREAL_URL` | Database connection | `ws://surrealdb:8000/rpc` |
|
||||
| `SURREAL_USER` | Database user | `root` |
|
||||
| `SURREAL_PASSWORD` | Database password | `root` |
|
||||
| `SURREAL_NAMESPACE` | Database namespace | `open_notebook` |
|
||||
| `SURREAL_DATABASE` | Database name | `open_notebook` |
|
||||
| `API_URL` | API external URL | `http://localhost:5055` |
|
||||
|
||||
See [Environment Reference](../5-CONFIGURATION/environment-reference.md) for complete list.
|
||||
|
|
|
|||
|
|
@ -107,6 +107,8 @@ heroku config:set OPEN_NOTEBOOK_ENCRYPTION_KEY=your-secret-key
|
|||
| `SURREAL_URL` | Database | `ws://localhost:8000/rpc` |
|
||||
| `SURREAL_USER` | DB user | `root` |
|
||||
| `SURREAL_PASSWORD` | DB password | `password` |
|
||||
| `SURREAL_NAMESPACE` | DB namespace | `open_notebook` |
|
||||
| `SURREAL_DATABASE` | DB name | `open_notebook` |
|
||||
| `API_URL` | External URL (for remote access) | `https://myapp.example.com` |
|
||||
|
||||
AI provider API keys are configured via the **Settings → API Keys** UI after deployment.
|
||||
|
|
|
|||
Loading…
Reference in a new issue