Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| hermes_installation_on_windows_11 [29 June 2026 / 15:58:33] – kadek | hermes_installation_on_windows_11 [09 July 2026 / 18:44:46] (current) – kadek | ||
|---|---|---|---|
| Line 25: | Line 25: | ||
| docker run -it --rm -v C: | docker run -it --rm -v C: | ||
| - | |||
| === #4 Create docker-compose.yml === | === #4 Create docker-compose.yml === | ||
| Line 35: | Line 34: | ||
| Paste the following: | Paste the following: | ||
| - | | + | services: |
| - | hermes: | + | hermes-cli: |
| - | image: nousresearch/ | + | |
| - | container_name: | + | container_name: |
| - | + | stdin_open: true | |
| - | restart: unless-stopped | + | tty: true |
| - | + | volumes: | |
| - | | + | |
| - | - C:\Users\KdeK\hermes-data:/ | + | hermes-gateway: |
| - | + | | |
| - | ports: | + | container_name: |
| - | - "8642:8642" | + | |
| - | - " | + | restart: unless-stopped |
| - | + | volumes: | |
| - | stdin_open: true | + | - C:\Users\YourUsername\hermes-data:/ |
| - | | + | |
| + | image: nousresearch/ | ||
| + | | ||
| + | command: dashboard --host 0.0.0.0 --port 9119 --no-open | ||
| + | | ||
| + | ports: | ||
| + | | ||
| + | | ||
| + | | ||
| === #5 Configure the Environment Variables === | === #5 Configure the Environment Variables === | ||
| - | Create | + | Create |
| C: | C: | ||
| - | Example: | + | Example |
| OPENROUTER_API_KEY=sk-or-v1-ABCDEFGabcdefg0123456789 | OPENROUTER_API_KEY=sk-or-v1-ABCDEFGabcdefg0123456789 | ||
| Line 70: | Line 77: | ||
| - TELEGRAM_ALLOWED_USERS is your Telegram numeric User ID. | - TELEGRAM_ALLOWED_USERS is your Telegram numeric User ID. | ||
| - | === Start Hermes === | + | === #6 Start Hermes === |
| cd C: | cd C: | ||
| Line 79: | Line 86: | ||
| === #7 Verify Hermes === | === #7 Verify Hermes === | ||
| - | View the logs: | + | View the logs for Gateway & Dashboard: |
| - | docker logs -f hermes | + | docker logs hermes-gateway --tail 10 |
| - | + | | |
| - | A successful startup should display messages similar to: | + | |
| - | + | ||
| - | | + | |
| - | Connecting to telegram... | + | |
| - | Connected to Telegram | + | |
| - | Gateway running | + | |
| - | + | ||
| - | Press Ctrl+C to stop viewing the logs. | + | |
| - | This does not stop Hermes. | + | |
| === #8 Pair Telegram === | === #8 Pair Telegram === | ||
| Line 109: | Line 107: | ||
| This connects to the running Hermes instance without stopping the Telegram gateway. Type /exit to exit the CLI. | This connects to the running Hermes instance without stopping the Telegram gateway. Type /exit to exit the CLI. | ||
| + | ---- | ||
| + | |||
| + | === Daily Startup === | ||
| + | |||
| + | After Windows starts: | ||
| + | |||
| + | - Start Docker Desktop. | ||
| + | - Wait until Docker Desktop reports Engine running. | ||
| + | - Open PowerShell, and run these commands: | ||
| + | |||
| + | cd C: | ||
| + | docker compose up -d | ||
| + | |||
| + | A successful startup should display messages similar to: | ||
| + | |||
| + | PS C: | ||
| + | [+] up 4/4 | ||
| + | ✔ Network hermes-data_default Created | ||
| + | ✔ Container hermes-gateway | ||
| + | ✔ Container hermes-cli | ||
| + | ✔ Container hermes-dashboard | ||
| + | |||
| + | Hermes, the Dashboard, and the Telegram Gateway will start automatically. | ||
| + | Access the dashboard via this URL: http:// | ||
| + | |||
| + | === Daily Shutdown === | ||
| + | |||
| + | You may simply shut down Windows. | ||
| + | Docker will gracefully stop the Hermes container. | ||
| + | |||
| + | Alternatively: | ||
| + | |||
| + | docker compose down | ||
| + | |||
| + | === Updating Hermes === | ||
| + | |||
| + | To update Hermes to the latest version: | ||
| + | |||
| + | docker compose pull | ||
| + | |||
| + | === Backup === | ||
| + | |||
| + | Back up the following directory periodically: | ||
| + | |||
| + | C: | ||
| + | This folder contains your configuration, | ||
