sotnaspina / docker-compose-laravel

Docker-Compose for Laravel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker-Compose for Laravel

After much research and struggle this is a configuration of the docker-compose that I got to be able to run my projects in Laravel.

Prerequisites

Configuration and Use

In the docker-compose.yaml file you configure the docker services/containers.

In the ./docker folder you configure the dependencies (nginx, php) of the docker services/containers.

Run docker-compose up -d to raise the containers.

To check the containers by running docker ps.

To access the project http://localhost.

To kill docker-compose kill containers.

To remove the docker-compose rm containers.