Skip to content

nevadskiy/laravel-nuxt-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stand With Ukraine

Dockerized template for your next project with Laravel and Nuxt

🍬 Stack

  • API
    • Laravel (latest version) + Octane server
    • PostgreSQL
    • Redis
    • Mailpit
    • Minio
  • WEB
    • Nuxt (latest version)
  • Reverse proxy
    • Traefik

⚙ Installation

Clone or download the repository:

git clone https://github.com/nevadskiy/laravel-nuxt-docker.git

Install API, WEB, and reverse-proxy (optionally for local development) using their installation instructions.

🔌 Network communication

The following image demonstrates the request paths in a local development environment.

Networking

API and WEB requests sent by the browser are proxied directly via published ports to the running server instances.

But the SSR request is sent by the node server, not the browser, and should be sent directly to the host of the API docker service.

For production environment it is recommended to configure a Reverse Proxy Server that will handle all incoming requests.

☕ Contributing

If you see anything that can be improved, feel free to make a pull request. Contributions are welcome and will be fully credited.

Support the Project

If you find this project helpful or just want to show your appreciation, consider buying me a coffee. Your support helps in maintaining and improving this project.

Buy Me a Coffee