Docker Deployment
What this page covers
Section titled “What this page covers”How to run Postgram from the pre-built image and when to switch from local build mode.
Core workflow
Section titled “Core workflow”- Pull the image:
docker pull ghcr.io/ivo-toby/postgram:latest-
Use the
latesttag for the mainline build, orsha-<short>for pinning. -
In
docker-compose.yml, swap themcp-serverservice from local build to image mode:
services: mcp-server: image: ghcr.io/ivo-toby/postgram:latest # remove build: .- To support native remote connectors, expose Postgram over public HTTPS and set:
OAUTH_ENABLED=truePUBLIC_BASE_URL=https://<your-postgram-host>The connector URL is ${PUBLIC_BASE_URL}/mcp.
- Start the stack:
docker compose up -d- The repository default Compose file builds locally by default; image mode is useful for quick deployment and upgrades.
ghcr.io/ivo-toby/postgram:mainmaps to the same mainline build aslatest. Pinsha-<short>when an immutable image reference matters; pushedv*tags also publish semantic image tags.- If clients upload synced markdown through a reverse proxy, configure request
body limits above the sync batch size. The bundled UI nginx proxy sets
client_max_body_size 64m. - See the OAuth connector guide for the full remote MCP setup.