Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instructions for building Next.js client with SSG locally in Docker Compose #1918

Merged
merged 5 commits into from
Apr 3, 2024

Commits on Mar 14, 2024

  1. docs(deployment/docker-compose.md): Add a section Building Next.js cl…

    …ient locally with SSG
    
    Added detailed instructions for building a Next.js client with Static Site Generation (SSG) in a Docker Compose environment. The steps include adjustments to the compose.prod.yaml file, 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 at build time for static page generation.
    JH committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    6539423 View commit details
    Browse the repository at this point in the history
  2. docs(create-client/nextjs.md): Generating a production build locally …

    …with docker compose
    
    Updated the Next.js documentation to include instructions for generating a production build locally using Docker Compose. The update provides a link to the detailed steps in the Docker Compose deployment guide.
    JH committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    2cfde5d View commit details
    Browse the repository at this point in the history
  3. docs(deployment/kubernetes.ms): Added Docker build command for SSG in…

    … Kubernetes doc
    
    Added optional Docker build command for SSG projects in Kubernetes doc. This command allows the PWA to access a locally running API during the build process, useful for generating static pages at build time.
    JH committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    400ed22 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2024

  1. docs(deployement/docker-compose): add a step to override the php env …

    …variables
    
    To ensure TRUSTED_HOSTS and MERCURE_PUBLIC_URL remain valid when altering SERVER_NAME to use an HTTP scheme or include a port, these variables must be overridden. This adjustment accommodates configurations where SERVER_NAME deviates from the standard HTTPS format or includes port specifications.
    JH committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    1964a51 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2024

  1. Configuration menu
    Copy the full SHA
    81e95fa View commit details
    Browse the repository at this point in the history