Run mjr.wtf locally using Docker Compose (SQLite), including migrations, logs, and teardown.
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
Quick start (SQLite via compose)
- Create env file:
cp .env.example .env
# set AUTH_TOKENS (preferred) or AUTH_TOKEN
- Create the persistent data directory:
mkdir -p data
- Start services (Docker Compose runs migrations automatically on startup via docker-entrypoint.sh):
make docker-compose-up
- Verify health:
curl http://localhost:8080/health
curl http://localhost:8080/ready
Useful ops
make docker-compose-logs
make docker-compose-ps
make docker-compose-down