Static Generation with Docker Compose
Unanswered
Pyrrhuloxia posted this in #help-forum
PyrrhuloxiaOP
Hey everyone, I need to create a docker compose with nextjs strapi and mysql, I already formed a docker compose file but the problem is my static pages in nextjs is cannot be rendered because strapi and mysql is on the queue for building their own image so they are not running, that's why nextjs can't find the api and cannot form a static site generation.
Did anyone bumped into something like this? How did you solve this issue?
Did anyone bumped into something like this? How did you solve this issue?
2 Replies
Golden-winged Warbler
https://dagger.io is what we use now
Our nextjs pipeline: https://github.com/hofstadter-io/hof/blob/docs/updates/next/ci/dagger.mts
Our nextjs pipeline: https://github.com/hofstadter-io/hof/blob/docs/updates/next/ci/dagger.mts