Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.

feat: add Docker Compose orchestration and rewrite README#163

Merged
karaktaka merged 1 commit into
mainfrom
feat/docker-compose-and-readme
Feb 14, 2026
Merged

feat: add Docker Compose orchestration and rewrite README#163
karaktaka merged 1 commit into
mainfrom
feat/docker-compose-and-readme

Conversation

@karaktaka
Copy link
Copy Markdown
Contributor

@karaktaka karaktaka commented Feb 13, 2026

Summary

  • Add docker-compose.yml (production, GHCR images) and docker-compose.dev.yml (local builds) to orchestrate NerpyBot + HumanMusic with migration init containers
  • Enhance database-migrations/env.py to resolve DB URL from DATABASE_URL env, bot config.yaml, or alembic.ini — eliminating duplicated database configuration
  • Add Docker-ready config examples (config/nerpybot.yaml.example, config/humanmusic.yaml.example)
  • Rewrite README.md with quickstart, Docker Compose deployment, migration docs, modules table, and config reference
  • Add pyyaml to migrations dependency group, update .gitignore / .dockerignore
  • Upgrade lock file packages (cachetools, coverage, google-api-python-client, platformdirs, ruff)

Test plan

  • docker compose -f docker-compose.yml config validates successfully
  • docker compose -f docker-compose.yml -f docker-compose.dev.yml config merges correctly
  • ruff check and ruff format --check pass
  • Migration init containers complete before bot services start
  • Bot reads /data/*.db path correctly from mounted config
  • DATABASE_URL env var override works for manual migration runs

🤖 Generated with Claude Code

@karaktaka karaktaka force-pushed the feat/docker-compose-and-readme branch from 546caeb to 428ce9f Compare February 13, 2026 22:33
Add compose setup for running NerpyBot and HumanMusic with automatic
database migrations via init containers. Migrations now read the bot's
config.yaml directly, eliminating duplicated DB configuration.

- docker-compose.yml: production setup with GHCR images
- docker-compose.dev.yml: local build override
- config/*.yaml.example: Docker-ready config templates
- database-migrations/env.py: resolve DB URL from config.yaml
- pyproject.toml: add pyyaml to migrations group
- README.md: comprehensive rewrite with all deployment options

Co-Authored-By: Claude <noreply@anthropic.com>
@karaktaka karaktaka force-pushed the feat/docker-compose-and-readme branch from 428ce9f to 4b531fb Compare February 13, 2026 22:41
@karaktaka karaktaka merged commit dd064cf into main Feb 14, 2026
8 checks passed
@karaktaka karaktaka deleted the feat/docker-compose-and-readme branch February 14, 2026 11:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant