Skip to content

add ability to run via docker compose, fix search_path conflict, single AGE Label#1

Open
kristof-ringleff wants to merge 1 commit into
soyrochus:mainfrom
kristof-ringleff:docker-compose
Open

add ability to run via docker compose, fix search_path conflict, single AGE Label#1
kristof-ringleff wants to merge 1 commit into
soyrochus:mainfrom
kristof-ringleff:docker-compose

Conversation

@kristof-ringleff

Copy link
Copy Markdown

Sending a PR which might be easier than explaining it all in an issue.

A couple of things I figured out with Claude Code that worked for me while trying to run this via docker-compose

MERGE (e:Entity:{ent.entity_type.title()} {{id: '{_escape_cypher(ent.node_id)}'}})

wouldn't work as it creates multiple labels which doesn't seem to work with AGE see apache/age#234

I had trouble getting the included Dockerfile for the Postgres DB to start. It segfaulted on setting up the vector extension. Not sure if this is related to the recent swap to PG18 or me running on arm64 architecture. Changing the base docker image to start with the image provided by the pgvector team and then adding the AGE extension on top seemed to work.

A main issue I fixed by moving the table creation to the db init script as well as including the local search path was missing tables (like memory_contextualization_jobs) when trying to log items via MCP. Again not sure if this was due to my setup but thought I pass it along.

After docker compose up the MCP will be available locally, ie http://0.0.0.0:8001/mcp and one can execute the REPL via docker compose run --rm repl

Feel free to pick any changes or if interested I can split it up. Sorry haven't worked it through via openspec as I was just trying to get it to run.

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