Skip to content

mouize/docker-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-base

This is a PHP Laravel project setup using Docker. It is configured to work with Nginx, PHP-FPM, MariaDB, Redis, and Mailhog for a clean, fast, and efficient development environment. This setup ensures that you have a reproducible, isolated environment for your Laravel application, and all necessary services are containerized.

Prerequisites

Before getting started, ensure that you have the following installed on your machine: • DockerDocker Compose

Getting Started

Clone the repository

Clone this repository to your local machine:

git clone [email protected]:mouize/docker-base.git

Set up environment variables

Create a .env file in the root of the project directory and copy the contents of the .env.example file into it. You can modify the values in the .env file to suit your needs.

Build the Docker containers

Build the Docker containers by running the following command:

make up

After running the command, you should see the Docker containers being built and started. You can access to your application on the port you specified in the .env file.

Makefile

You can take a look on the Makefile, some options are available like :

make laravel-install #Install laravel with some dev tools like telescope and phpstan

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •