Skip to content

docs: add configuration and environment variable examples#6

Open
codenamekt wants to merge 1 commit into
mainfrom
docs/add-env-config
Open

docs: add configuration and environment variable examples#6
codenamekt wants to merge 1 commit into
mainfrom
docs/add-env-config

Conversation

@codenamekt

Copy link
Copy Markdown
Owner

This PR adds a .env.example file and updates the README.md to explicitly mention environment variables and configuration paths for both the Hermes Plugin and Docker setups.

Comment thread README.md
```bash
# Run the MCP server via HTTP streamable transport on port 8000
docker run -d --name hexus -p 8000:8000 ghcr.io/codenamekt/hexus:latest
docker run -d --name hexus -p 8000:8000 -e HEXUS_DSN="dbname=hermes_memory user=postgres host=host.docker.internal" ghcr.io/codenamekt/hexus:latest

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CRITICAL: Docker run command will fail — missing HEXUS_DB_PASS and DSN password

  1. docker/entrypoint.sh line 24 uses ${HEXUS_DB_PASS:?hexus database password required} syntax, which causes the script to exit with an error if this variable is unset. The container will fail to start without -e HEXUS_DB_PASS=....
  2. The DSN string omits password=.... Compare with .env.example and docker/compose.yml which both include the password parameter in their DSN strings.

Reply with @kilocode-bot fix it to have Kilo Code address this issue.

Comment thread README.md
provider: hexus
config:
# The Postgres connection string (required)
dsn: "dbname=hermes_memory user=postgres password=postgres_secret host=localhost"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WARNING: Database name inconsistency — hermes_memory vs hermes_test

The .env.example file (line 10) and docker/compose.yml use database name hermes_test (POSTGRES_DB: hermes_test). However, this README uses hermes_memory here and on lines 86, 92. Pick one name and use it consistently across all files — users will be confused about which database to create.


Reply with @kilocode-bot fix it to have Kilo Code address this issue.

Comment thread .env.example
# you'll need this so it knows how to connect.
# NOTE: If running via `docker compose --profile mcp up`, the compose file
# already sets this to host=pg internally, but you can override here.
HEXUS_DSN="dbname=hermes_test user=postgres password=postgres_secret host=localhost"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WARNING: Database name inconsistency — hermes_test vs README's hermes_memory

The README.md (lines 76, 86, 92) uses database name hermes_memory, while this file and docker/compose.yml use hermes_test. Same issue on line 35 (commented yaml section). This inconsistency within the same PR will confuse users. Choose one name and use it consistently.


Reply with @kilocode-bot fix it to have Kilo Code address this issue.

Comment thread README.md

> **Note:** The Docker MCP server requires a running PostgreSQL database with `pgvector` enabled. You can reference or use our provided `docker/compose.yml` file as a quick example to spin one up!

**Environment Variables:**

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SUGGESTION: Incomplete environment variable documentation

The README lists only 3 environment variables, but the application reads at least 7 (per mcp_server/tools.py, cli.py, and compose.yml). Missing from this list: HEXUS_TRANSPORT, HEXUS_WEBHOOK_URL, HEXUS_WEBHOOK_SECRET, and HEXUS_AGENT_IDENTITY. All except HEXUS_AGENT_IDENTITY are shown in .env.example — consider listing them here too for completeness.


Reply with @kilocode-bot fix it to have Kilo Code address this issue.

@kilo-code-bot

kilo-code-bot Bot commented Jul 1, 2026

Copy link
Copy Markdown

Code Review Summary

Status: 4 Issues Found | Recommendation: Address before merge

Overview

Severity Count
CRITICAL 1
WARNING 2
SUGGESTION 1
Issue Details (click to expand)

CRITICAL

File Line Issue
README.md 92 Docker run command will fail — entrypoint.sh requires HEXUS_DB_PASS (uses ${:?} syntax that exits on unset). DSN also missing password= parameter.

WARNING

File Line Issue
README.md 76 Database name inconsistency — uses hermes_memory but .env.example and compose.yml use hermes_test. Also on lines 86, 92.
.env.example 10 Database name inconsistency — uses hermes_test while README.md uses hermes_memory. Also on line 35.

SUGGESTION

File Line Issue
README.md 84 Incomplete env var docs — only 3 of 7 app env vars listed. Missing HEXUS_TRANSPORT, HEXUS_WEBHOOK_URL, HEXUS_WEBHOOK_SECRET, HEXUS_AGENT_IDENTITY.
Files Reviewed (2 files)
  • .env.example - 1 issue
  • README.md - 3 issues

Fix these issues in Kilo Cloud


Reviewed by deepseek-v4-pro · Input: 60.6K · Output: 19.6K · Cached: 421.2K

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant