# =============================================================================
# plandb — non-secret configuration only. This stack has no credentials.
#
# Both binds point at node-01's LAN address. Anything wider publishes an
# unauthenticated MCP endpoint whose tasks can carry shell hooks — see the
# stack README before changing either value.
# =============================================================================

# Streamable-HTTP MCP bridge. This is the endpoint agents attach to.
PLANDB_MCP_HOST_BIND=192.168.1.6
PLANDB_MCP_HOST_PORT=8485

# REST + SSE server. Off by default (see the `http` profile in the compose
# file); the port is reserved here so enabling it needs no other change.
PLANDB_HTTP_HOST_BIND=192.168.1.6
PLANDB_HTTP_HOST_PORT=8484

# First-party image built by the Gitea workflow. The version tag is immutable
# and a commit-SHA tag is pushed alongside it for rollback.
PLANDB_IMAGE=git.mildgrim.com/mildgrim/plandb:0.2.1

# Enables the optional REST server service. Leave commented until the
# concurrent-write behaviour has been measured — two processes on one SQLite
# file are two writers, and there is no busy timeout.
#COMPOSE_PROFILES=http
