Files
GoClaw/docker/README-env.md

45 lines
1.3 KiB
Markdown

# GoClaw — Environment Variables Reference
Copy and rename this as `.env` in the `docker/` directory. **Never commit `.env` to git.**
## Database
| Variable | Default | Description |
|---|---|---|
| `MYSQL_ROOT_PASSWORD` | — | MySQL root password (required) |
| `MYSQL_DATABASE` | `goclaw` | Database name |
| `MYSQL_USER` | `goclaw` | Application DB user |
| `MYSQL_PASSWORD` | — | Application DB password (required) |
## Security
| Variable | Description |
|---|---|
| `JWT_SECRET` | Session cookie signing secret (min 32 chars) |
## Manus OAuth
| Variable | Description |
|---|---|
| `VITE_APP_ID` | Manus OAuth application ID |
| `OAUTH_SERVER_URL` | Manus OAuth backend URL |
| `VITE_OAUTH_PORTAL_URL` | Manus login portal URL |
## Manus Built-in APIs
| Variable | Description |
|---|---|
| `BUILT_IN_FORGE_API_URL` | Manus built-in API base URL |
| `BUILT_IN_FORGE_API_KEY` | Server-side API key |
| `VITE_FRONTEND_FORGE_API_KEY` | Frontend API key |
| `VITE_FRONTEND_FORGE_API_URL` | Frontend API URL |
## Go Gateway
| Variable | Default | Description |
|---|---|---|
| `GATEWAY_URL` | `http://gateway:18789` | Internal URL for Control Center → Gateway |
| `OLLAMA_BASE_URL` | `http://ollama:11434` | Ollama LLM server URL |
| `OLLAMA_API_KEY` | — | API key if Ollama requires auth |
| `REQUEST_TIMEOUT_SECS` | `120` | Max seconds per LLM request |