My role
I wrote the Dockerfile for the Next.js and React application, built its container image, and deployed it to a VPS using Docker Compose.
Architecture
Cloudflare Tunnel forwards public requests to Nginx on the VPS. Nginx routes requests for the Sendby Express hostname to the Next.js container. The application port stays within the Docker network.
Deployment and verification
I built and started the application with docker compose up -d --build. After deployment, I checked that both the Vietnamese (/vi) and English (/en) homepages loaded through the public hostname.