# gitea-mcp — configuration, committed on purpose (repo convention, AGENTS.md §2)
#
# This file IS the deployment: the container has no volumes, so nothing else
# describes how it is configured. Leave the Portainer stack's Env list empty.

# Serves the MCP over Streamable HTTP rather than stdio; stdio is useless to a
# container on another host.
MCP_MODE=http

# The Gitea instance this server proxies. Uses node-01's LAN address and plain
# HTTP, which is what the deployed stack did. https://git.mildgrim.com also
# works and would survive an IP change, at the cost of TLS trust inside the
# container — change it deliberately, not as a drive-by.
GITEA_HOST=http://192.168.1.6:3000

# A Gitea personal access token, and the entire security boundary of this
# service: whoever holds it can act as this user across every repository it can
# reach, including this one. It has been in plaintext in the Portainer stack
# body, so treat rotation as due rather than optional.
GITEA_ACCESS_TOKEN=727ac1874909e23a74d2a7c2fb733cb411ccacfa

# Interface the published port binds to. 0.0.0.0 is unchanged from the deployed
# stack; set it to a single LAN address on a host with more than one to narrow
# the exposure without touching the compose file.
MCP_HOST_BIND=0.0.0.0
