Skip to content

v0.2.1 — Deploy infrastructure & CI fixes

Latest

Choose a tag to compare

@mateuseap mateuseap released this 02 Jul 04:13
df23245

What's changed

Bug fixes

  • CI: typecheck and build jobs now correctly build @chesskernel/shared and run prisma generate before running tsc — CI was failing on every push since v0.1.0
  • Docker deploy: fixed multiple issues that made docker compose up non-functional:
    • Build contexts corrected (Dockerfiles expect the monorepo root, not server/)
    • Dockerfile.client referenced docker/nginx/nginx.client.conf which didn't exist — file added
    • Dead client_build volume replaced with a proper client service
    • Migrations now run automatically on server start via docker-entrypoint.sh — no manual exec needed after deploys

New

  • Caddy TLS — add DOMAIN=your.domain.com to .env and Caddy handles HTTPS + Let's Encrypt automatically
  • .env.example — all required environment variables are now documented

Polish

  • README board preview now uses the real cburnett piece SVGs from react-chessboard, matching the home page exactly

Upgrading

git pull
docker compose -f docker/docker-compose.prod.yml up -d --build

Migrations run automatically on start.