一键导入
docker-compose-dev
Run mjr.wtf locally using Docker Compose (SQLite), including migrations, logs, and teardown.
菜单
Run mjr.wtf locally using Docker Compose (SQLite), including migrations, logs, and teardown.
Operate and validate mjr.wtf observability endpoints (/health, /metrics) and logging-related behavior. Use when adding metrics, changing auth around metrics, or debugging production-like issues.
Apply project-specific security and privacy guardrails (auth, headers, rate limiting, logging). Use when touching authentication, request handling, metrics exposure, or anything that could leak sensitive data.
Run, debug, and structure tests for this Go project (unit + integration), including generation prerequisites. Use when changing domain logic, repositories, HTTP handlers, or migrations.
Run and extend the end-to-end HTTP integration tests (SQLite in-memory) for mjr.wtf, covering auth, create/list/delete, redirects, and analytics. Use when changing handlers, middleware, or API contracts.
Run and troubleshoot project code generation (sqlc + templ).
Configure mjr.wtf safely via environment variables and .env files.
| name | docker-compose-dev |
| description | Run mjr.wtf locally using Docker Compose (SQLite), including migrations, logs, and teardown. |
| license | MIT |
| compatibility | Requires docker, docker compose, bash, git, and make. |
| metadata | {"repo":"mjrwtf","runner":"github-copilot-cli","version":1.1} |
| allowed-tools | Bash(git:*) Bash(make:*) Bash(docker:*) Bash(curl:*) Read |
cp .env.example .env
# set AUTH_TOKENS (preferred) or AUTH_TOKEN
mkdir -p data
make docker-compose-up
curl http://localhost:8080/health
curl http://localhost:8080/ready
make docker-compose-logs
make docker-compose-ps
make docker-compose-down