mcnoaa-tides/Makefile
Ryan Malloy a02d660764 Add Starlight docs site and MCP HTTP transport
- Starlight documentation with 12 Diátaxis-organized pages covering
  getting started, how-to guides, reference, and architecture
- Docker Compose with two services: docs (Starlight/Caddy) and
  mcp (FastMCP streamable-http), both behind caddy-docker-proxy
- Env-based transport selection in server.py — stdio default preserved,
  MCP_TRANSPORT=streamable-http activates HTTP mode for Docker
- Ocean/maritime theme with dark mode default
2026-02-22 19:05:12 -07:00

39 lines
911 B
Makefile

.PHONY: dev prod build logs down clean restart shell-docs shell-mcp
.DEFAULT_GOAL := dev
dev:
@echo "Starting mcnoaa-tides in development mode..."
APP_ENV=dev docker compose up -d --build
@echo "Docs: https://$(shell grep DOMAIN .env | head -1 | cut -d= -f2)"
@echo "MCP: https://mcp.$(shell grep DOMAIN .env | head -1 | cut -d= -f2)/mcp"
@sleep 2
docker compose logs -f
prod:
@echo "Starting mcnoaa-tides in production mode..."
APP_ENV=prod docker compose up -d --build
@echo "Docs: https://$(shell grep DOMAIN .env | head -1 | cut -d= -f2)"
@echo "MCP: https://mcp.$(shell grep DOMAIN .env | head -1 | cut -d= -f2)/mcp"
@sleep 3
docker compose logs --tail=20
build:
docker compose build
logs:
docker compose logs -f
down:
docker compose down
clean:
docker compose down -v --rmi local
restart: down dev
shell-docs:
docker compose exec docs sh
shell-mcp:
docker compose exec mcp sh