~/talk

How to Build and Run Next.js Applications with Docker, Compose

Talkat DockerCon 2022 · 2022-05-09..05-10· [react, developer-experience]
slides:none on file

Builds a Docker Compose stack of three services — an auth Express backend (port 3001), a client builder that runs next build + next export, and an NGINX web server (host port 8080) that mounts a static_build volume mapped to Next’s out directory. Uses multi-stage Node Alpine images, a non-root node user, yarn ci, and named volumes so the client container exits after producing static files. NGINX serves the site and performs cookie-based redirects for A/B behavior; the demo runs and the static site plus redirects work locally.

AI-written summary · about

  1. 0:00Introduction
  2. 1:08Next.js rendering options
  3. 5:00Demo architecture
  4. 5:25Authentication service
  5. 7:09Optimizing Docker images
  6. 10:54Client service build
  7. 12:54App interaction demo
  8. 14:36Nginx configuration
  9. 19:07Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.