No description
Find a file
Vadym Samoilenko 96ab1c5da6 fix: run DB migrations via migrator service, not standalone app
In Next.js standalone output (output: 'standalone') the src/migrations/
directory is not present on the filesystem, so payload.db.migrate()
could not discover migration files → home_page table was never created
→ getHomePage() threw a DB error → Server Components render failed.

Fix:
- Add `migrator` service to docker-compose.prod.yml (builds from the
  `migrator` Dockerfile stage which has the full src/ tree)
- migrator runs `pnpm payload migrate` before app starts
- app depends_on migrator: service_completed_successfully
- Remove payload.db.migrate() from instrumentation.ts (migrator handles it)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-23 21:31:52 +00:00
.claude feat: full CMS integration — connect all content to Payload admin panel 2026-02-23 21:19:44 +00:00
.github/workflows ci: remove --pull to use Docker layer cache on server 2026-02-23 18:36:48 +00:00
.husky feat: project setup & repository (Feature 1) 2026-02-21 22:43:53 +00:00
Assets feat: add courses page, real contact details, Courses to navigation 2026-02-23 13:25:16 +00:00
docs/guides feat: project setup & repository (Feature 1) 2026-02-21 22:43:53 +00:00
Logo feat: project setup & repository (Feature 1) 2026-02-21 22:43:53 +00:00
public feat: replace logo with official Axil Accountants brand mark 2026-02-23 18:20:14 +00:00
scripts feat: redesign HeroSection to 3-column MinimalistHero layout 2026-02-22 21:20:42 +00:00
src fix: run DB migrations via migrator service, not standalone app 2026-02-23 21:31:52 +00:00
.dockerignore feat: project setup & repository (Feature 1) 2026-02-21 22:43:53 +00:00
.env.example feat: redesign HeroSection to 3-column MinimalistHero layout 2026-02-22 21:20:42 +00:00
.gitignore feat: add production deploy script and docker-compose 2026-02-23 13:41:29 +00:00
.lintstagedrc feat: project setup & repository (Feature 1) 2026-02-21 22:43:53 +00:00
.prettierignore feat: project setup & repository (Feature 1) 2026-02-21 22:43:53 +00:00
.prettierrc feat: project setup & repository (Feature 1) 2026-02-21 22:43:53 +00:00
Concept.md feat: redesign HeroSection to 3-column MinimalistHero layout 2026-02-22 21:20:42 +00:00
CONTEXT_HANDOVER.md feat: redesign HeroSection to 3-column MinimalistHero layout 2026-02-22 21:20:42 +00:00
deploy.sh fix: switch from nginx to Traefik for routing and SSL 2026-02-23 14:39:32 +00:00
docker-compose.prod.yml fix: run DB migrations via migrator service, not standalone app 2026-02-23 21:31:52 +00:00
docker-compose.yml feat: redesign HeroSection to 3-column MinimalistHero layout 2026-02-22 21:20:42 +00:00
Dockerfile fix: dedicated migrator stage for payload migrate 2026-02-23 14:04:34 +00:00
eslint.config.mjs fix: fix ESLint hardcoded Mac path and enable allowImportingTsExtensions 2026-02-23 15:33:11 +00:00
implementation_plan.md feat: redesign HeroSection to 3-column MinimalistHero layout 2026-02-22 21:20:42 +00:00
next.config.ts feat: redesign HeroSection to 3-column MinimalistHero layout 2026-02-22 21:20:42 +00:00
package.json feat: full CMS integration — connect all content to Payload admin panel 2026-02-23 21:19:44 +00:00
pnpm-lock.yaml feat: full CMS integration — connect all content to Payload admin panel 2026-02-23 21:19:44 +00:00
pnpm-workspace.yaml feat: project setup & repository (Feature 1) 2026-02-21 22:43:53 +00:00
postcss.config.mjs feat: project setup & repository (Feature 1) 2026-02-21 22:43:53 +00:00
README.md feat: project setup & repository (Feature 1) 2026-02-21 22:43:53 +00:00
tsconfig.json fix: fix ESLint hardcoded Mac path and enable allowImportingTsExtensions 2026-02-23 15:33:11 +00:00

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.