This pull request adds detailed instructions for building a Next.js client with Static Site Generation (SSG) locally with http in a Docker Compose environment.
The steps include adjustments to the compose.yaml and compose.prod.yaml files, building and starting the php service container, optional creation of a .env file for the Next.js client, building the pwa service, and finally bringing up the full project.
This setup ensures the Next.js client can access the API locally at build time for static page generation.
The last commit adapt the docker compose documentation to reflect the changes of this PR adding the MERCURE_PUBLIC_URL and
TRUSTED_HOSTS environment variables.
This pull request adds detailed instructions for building a Next.js client with Static Site Generation (SSG) locally with http in a Docker Compose environment.
The steps include adjustments to the compose.yaml and compose.prod.yaml files, building and starting the php service container, optional creation of a .env file for the Next.js client, building the pwa service, and finally bringing up the full project.
This setup ensures the Next.js client can access the API locally at build time for static page generation.
The last commit adapt the docker compose documentation to reflect the changes of this PR adding the MERCURE_PUBLIC_URL and TRUSTED_HOSTS environment variables.