This project provides a reproducible Nuxt 3 development setup behind an NGINX proxy using Docker and docker-compose. The development server is accessed via http://nuxt-proxy.lo:8083. This configuration helps resolve common proxy issues with Nuxt and development tooling.
- Docker & Docker Compose installed on your machine .
- Node.js version 20+ if you want to run outside Docker.
- Add nuxt-proxy.lo to your /etc/hosts file for local DNS resolution.
Add to /etc/hosts
127.0.0.1 nuxt-proxy.lo
- Dockerfile: Multi-stage file for dev and build environments.
- docker-compose.yml: Defines Nuxt and NGINX proxy containers.
- nginx.conf: Custom NGINX config for proxying Nuxt.
- package.json: Nuxt app dependencies.
- Start With Docker Compose
docker-compose up --build- Access the App
- Open http://nuxt-proxy.lo:8083 in your browser.