docs: removes duplicate headline in building without a db connection (#12694)

Removed _Building without a DB connection_ H1
This commit is contained in:
Sean Zubrickas
2025-06-05 07:37:09 -07:00
committed by GitHub
parent e10e445a64
commit 4ee4aa7d71

View File

@@ -6,8 +6,6 @@ desc: You don't want to have a DB connection while building your Docker containe
keywords: deployment, production, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, nextjs keywords: deployment, production, config, configuration, documentation, Content Management System, cms, headless, javascript, node, react, nextjs
--- ---
# Building without a DB connection
One of the most common problems when building a site for production, especially with Docker - is the DB connection requirement. One of the most common problems when building a site for production, especially with Docker - is the DB connection requirement.
The important note is that Payload by itself does not have this requirement, But [Next.js' SSG ](https://nextjs.org/docs/pages/building-your-application/rendering/static-site-generation) does if any of your route segments have SSG enabled (which is default, unless you opted out or used a [Dynamic API](https://nextjs.org/docs/app/deep-dive/caching#dynamic-apis)) and use the Payload Local API. The important note is that Payload by itself does not have this requirement, But [Next.js' SSG ](https://nextjs.org/docs/pages/building-your-application/rendering/static-site-generation) does if any of your route segments have SSG enabled (which is default, unless you opted out or used a [Dynamic API](https://nextjs.org/docs/app/deep-dive/caching#dynamic-apis)) and use the Payload Local API.