Laravel Nuxt Docker

screenshot of Laravel Nuxt Docker
laravel
nuxt

Dockerized template for your next project with Laravel and Nuxt.

Overview

The Stand With Ukraine Dockerized template is a pre-configured Laravel and Nuxt monorepo that allows for the separate installation and running of the two applications. It includes a stack that consists of Laravel, Octane/PHP-FPM, PostgreSQL, Redis, MailHog, Nuxt, Nginx, and Certbot. The template has been tested on Ubuntu 18.04, 19.10, and 20.04.

Features

  • Separate pre-configured Laravel and Nuxt applications stored in the same monorepo
  • Docker templates for development and production
  • Ability to install and run applications completely separately from each other
  • Flexibility to add additional applications such as a mobile or admin panel

API

Quick installation:

  1. Clone or download the repository.
  2. Enter the repository directory.
  3. Run the installation command.

Advanced installation: Read more about the advanced API installation in the documentation.

Client

Quick installation:

  1. Clone or download the repository.
  2. Enter the repository directory.
  3. Run the installation command.

Advanced installation: Read more about the advanced client installation in the documentation.

Gateway (optional)

Single host:

  • If hosting both API and client apps on a single host machine, set up subdomains instead of relying on published ports.
  • The project includes a simple gateway application to facilitate this setup.
  • Refer to the documentation for installation and configuration details.
  • The gateway application can be removed for local development or replaced with a more professional tool like Traefik.

Summary

The Stand With Ukraine Dockerized template provides a convenient setup for developing and running separate Laravel and Nuxt applications. Its flexible structure allows for easy expansion with additional applications. The template includes detailed installation instructions and offers advanced options for customization.

laravel
Laravel

Laravel is a powerful and elegant PHP framework that provides developers with a comprehensive set of tools and features to build robust web applications. It follows the Model-View-Controller (MVC) architectural pattern, offering a clean and organized structure for writing efficient and maintainable code.

nuxt
Nuxt

nuxt.js is a lightweight and flexible JavaScript framework that allows developers to easily build dynamic and reactive user interfaces. Its intuitive syntax, modular architecture, and focus on performance make it a popular choice for modern web development.

docker
Docker

A website that uses Docker for containerization to streamline development, testing, and deployment workflows. This includes features such as containerization of dependencies, automated builds and deployments, and container orchestration to ensure scalability and availability.