-
Notifications
You must be signed in to change notification settings - Fork 2
fix(ops): cipher-api Known Roads + compose fixes #1154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -2166,6 +2166,7 @@ services: | |||||
| - NEO4J_USER=${NEO4J_USER:-neo4j} | ||||||
| - NEO4J_PASSWORD=${NEO4J_PASSWORD:-neo4j} | ||||||
| - NATS_URL=${NATS_URL:-nats://nats:pmoves@nats:4222} | ||||||
| - OLLAMA_BASE_URL=http://pmoves-ollama:11434 | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔥 The Roast: Every other service in this file uses 🩹 The Fix:
Suggested change
📏 Severity: suggestion |
||||||
| - DOCKED_MODE=${DOCKED_MODE:-true} | ||||||
| - TOPOLOGY_MODE=${TOPOLOGY_MODE:-docked} | ||||||
| - PARENT_SYSTEM=${PARENT_SYSTEM:-PMOVES.AI} | ||||||
|
|
@@ -2182,7 +2183,7 @@ services: | |||||
| profiles: ["agents"] | ||||||
| networks: [pmoves_app, pmoves_data, pmoves_bus] | ||||||
| healthcheck: | ||||||
| test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/health"] | ||||||
| test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:3000/health"] | ||||||
| interval: 30s | ||||||
| timeout: 10s | ||||||
| retries: 3 | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥 The Roast:
docker compose up -dreturns as soon as the container is created, not when it's healthy. Printing "✔ Cipher Memory ready" right after is like shouting "dinner's served!" the moment you put the pizza in the oven. You literally created acipher-healthtarget 4 lines below this — use it! Also, port 8096 is Jellyfin's default host port too, so when both are running, someone's getting a surprise.🩹 The Fix: Either call
cipher-healthafter theup -d(with a retry loop), or soften the message to "starting..." and point users tomake cipher-health. Also consider defaultingCIPHER_PORTto something other than 8096 to avoid the Jellyfin collision.📏 Severity: warning