chore: move docker/ compose files and infra to repo root

Moved compose.yml, compose.prod.yml, DEPLOY.md, traefik/, and cron/ out
of docker/ into the repo root (docker/ removed). Updated every reference:

- Dockerfile: COPY paths for the cron stage
- .dockerignore: dropped the now-unneeded docker/!docker-cron
  exclude+exception pair (cron/ is just a normal top-level dir now, no
  special-casing needed)
- compose.prod.yml: build context ".." -> "." (Dockerfile and compose
  files are now siblings, not one level apart)
- CLAUDE.md, DEPLOY.md, compose.yml, traefik/epicure.yml,
  cron/run-digest.sh, weekly-digest route.ts: path references in comments/
  docs

Verified: both compose files validate, and all three Dockerfile targets
(runner/cron/migrator) build clean via a local --no-cache docker build
from the new layout.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Arnaud
2026-07-11 20:25:38 +02:00
parent 8b749f432e
commit 68f0f490b9
10 changed files with 14 additions and 16 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
```bash
cp .env.example .env.local # fill in secrets (lives at repo root)
ln -s ../../.env.local apps/web/.env.local # Next.js reads from apps/web/, not root
docker compose -f docker/compose.yml up -d # start postgres, redis, minio
docker compose -f compose.yml up -d # start postgres, redis, minio
pnpm install
pnpm db:generate # generate migrations from schema (first time)
pnpm db:migrate # apply migrations