docker-compose-dev
Run mjr.wtf locally using Docker Compose (SQLite), including migrations, logs, and teardown.
When & Why to Use This Skill
This Claude skill automates the local deployment and lifecycle management of the mjr.wtf project using Docker Compose and SQLite. It simplifies complex setup tasks including environment configuration, automated database migrations, health monitoring, and resource teardown, providing a seamless 'one-command' experience for developers.
Use Cases
- Rapid Local Development: Quickly spin up the mjr.wtf environment with all dependencies and SQLite configurations pre-set, reducing manual setup time.
- Automated Database Migrations: Ensure the local database schema is always current by automatically running migrations during the container startup process.
- Service Health and Log Monitoring: Efficiently verify system readiness and troubleshoot issues using integrated health check commands and log streaming.
- Clean Environment Management: Perform standardized teardowns and resource cleanup to maintain a clutter-free local development workspace.
| 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. |
| 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