Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

Running The Server

Postgram can run in containerized environments or directly from local Node build.

Server startup modes and the main runtime endpoints to validate.

  1. Docker stack (recommended):
Terminal window
docker compose up -d --build
  1. Confirm endpoint availability:
  • REST: http://127.0.0.1:3100/api
  • MCP: http://127.0.0.1:3100/mcp
  • Health: http://127.0.0.1:3100/health
  1. Production-style local run:
Terminal window
npm run build
npm start
  1. Verify startup health after deploy:
Terminal window
curl http://127.0.0.1:3100/health
  • The Docker image can be pulled directly or built locally from source.
  • If the service does not report healthy, check DB connectivity and migration startup logs before touching client tools.