Containerized FastAPI + FastMCP server exposing send_email tool, backed by Mailgun (mg.oliver.solutions). Bearer-token auth. Deployable to /opt/mg-mcp/ on optical-dev.oliver.solutions behind the shared Apache vhost, following the same pattern as adeo-maturity-tool / oliver-sales-ops-platform. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
16 lines
491 B
YAML
16 lines
491 B
YAML
# Top-level project name pinned per the global Docker policy — prevents
|
|
# collision with other apps on optical-dev that share /opt/<slug>/ layout.
|
|
name: mg-mcp
|
|
|
|
services:
|
|
app:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: mg-mcp
|
|
restart: unless-stopped
|
|
env_file: .env
|
|
ports:
|
|
# Apache fronts — bind localhost-only so the container is not
|
|
# reachable from the public internet directly.
|
|
- "127.0.0.1:${MG_MCP_PORT:-9080}:8000"
|