Spaces:
Running
Running
docs: remove DEV_MODE and JUPYTER_TOKEN entries from README
Browse filesCo-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
README.md
CHANGED
|
@@ -22,10 +22,6 @@ secrets:
|
|
| 22 |
description: "Hugging Face token with write access. Used for automatic workspace backup and HF providers."
|
| 23 |
- name: CLOUDFLARE_WORKERS_TOKEN
|
| 24 |
description: "Cloudflare API token for automatic Worker proxy and KeepAlive setup."
|
| 25 |
-
- name: DEV_MODE
|
| 26 |
-
description: "Set to 'false' to disable the JupyterLab terminal at /terminal/. Terminal is on by default when GATEWAY_TOKEN is set."
|
| 27 |
-
- name: JUPYTER_TOKEN
|
| 28 |
-
description: "Override terminal password (optional). Defaults to GATEWAY_TOKEN — no extra secret needed."
|
| 29 |
---
|
| 30 |
|
| 31 |
<!-- Badges -->
|
|
@@ -258,8 +254,6 @@ With `CLOUDFLARE_WORKERS_TOKEN` set, HuggingMes can create a keep-alive worker t
|
|
| 258 |
| `SYNC_INTERVAL` | `600` | Backup frequency in seconds |
|
| 259 |
| `CLOUDFLARE_KEEPALIVE_ENABLED` | `true` | Set `false` to disable keep-awake worker |
|
| 260 |
| `TELEGRAM_MODE` | `webhook` | `webhook` or `polling` (webhook auto-configured from `SPACE_HOST`) |
|
| 261 |
-
| `DEV_MODE` | `true` | Set `false` to disable JupyterLab terminal at `/terminal/` |
|
| 262 |
-
| `JUPYTER_TOKEN` | *(uses `GATEWAY_TOKEN`)* | Override terminal password (optional) |
|
| 263 |
| `WEBHOOK_URL` | — | Endpoint for POST JSON restart notifications |
|
| 264 |
| `GATEWAY_RESTART_DELAY` | `5` | Seconds between gateway restart attempts |
|
| 265 |
| `GATEWAY_MAX_RESTARTS` | `0` (unlimited) | Maximum gateway restart count before container exits |
|
|
@@ -272,7 +266,6 @@ HuggingMes includes a JupyterLab terminal at `/terminal/` for direct shell acces
|
|
| 272 |
|
| 273 |
The terminal is **on by default** — no extra configuration needed. Click **Open Terminal →** on the dashboard, then log in with your `GATEWAY_TOKEN`.
|
| 274 |
|
| 275 |
-
To disable it, set `DEV_MODE=false`. To use a separate terminal password, set `JUPYTER_TOKEN` to a different value.
|
| 276 |
|
| 277 |
> **Security:** JupyterLab grants full shell access to the container. The terminal will not start if no `GATEWAY_TOKEN` is set.
|
| 278 |
|
|
@@ -296,7 +289,7 @@ docker compose up --build
|
|
| 296 |
- **Dashboard (`/`)**: Real-time management and monitoring.
|
| 297 |
- **Hermes App (`/app/`)**: Secure proxied access to the Hermes UI.
|
| 298 |
- **API (`/v1/*`)**: Proxied OpenAI-compatible agent API.
|
| 299 |
-
- **Terminal (`/terminal/`)**: JupyterLab terminal (auto-enabled when `GATEWAY_TOKEN` is set
|
| 300 |
- **Health Check (`/health`)**: Readiness probe for HF and keep-alive.
|
| 301 |
- **Sync Engine**: Python background task for HF Dataset persistence.
|
| 302 |
|
|
|
|
| 22 |
description: "Hugging Face token with write access. Used for automatic workspace backup and HF providers."
|
| 23 |
- name: CLOUDFLARE_WORKERS_TOKEN
|
| 24 |
description: "Cloudflare API token for automatic Worker proxy and KeepAlive setup."
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
---
|
| 26 |
|
| 27 |
<!-- Badges -->
|
|
|
|
| 254 |
| `SYNC_INTERVAL` | `600` | Backup frequency in seconds |
|
| 255 |
| `CLOUDFLARE_KEEPALIVE_ENABLED` | `true` | Set `false` to disable keep-awake worker |
|
| 256 |
| `TELEGRAM_MODE` | `webhook` | `webhook` or `polling` (webhook auto-configured from `SPACE_HOST`) |
|
|
|
|
|
|
|
| 257 |
| `WEBHOOK_URL` | — | Endpoint for POST JSON restart notifications |
|
| 258 |
| `GATEWAY_RESTART_DELAY` | `5` | Seconds between gateway restart attempts |
|
| 259 |
| `GATEWAY_MAX_RESTARTS` | `0` (unlimited) | Maximum gateway restart count before container exits |
|
|
|
|
| 266 |
|
| 267 |
The terminal is **on by default** — no extra configuration needed. Click **Open Terminal →** on the dashboard, then log in with your `GATEWAY_TOKEN`.
|
| 268 |
|
|
|
|
| 269 |
|
| 270 |
> **Security:** JupyterLab grants full shell access to the container. The terminal will not start if no `GATEWAY_TOKEN` is set.
|
| 271 |
|
|
|
|
| 289 |
- **Dashboard (`/`)**: Real-time management and monitoring.
|
| 290 |
- **Hermes App (`/app/`)**: Secure proxied access to the Hermes UI.
|
| 291 |
- **API (`/v1/*`)**: Proxied OpenAI-compatible agent API.
|
| 292 |
+
- **Terminal (`/terminal/`)**: JupyterLab terminal (auto-enabled when `GATEWAY_TOKEN` is set).
|
| 293 |
- **Health Check (`/health`)**: Readiness probe for HF and keep-alive.
|
| 294 |
- **Sync Engine**: Python background task for HF Dataset persistence.
|
| 295 |
|