Skip to content

vahiiiid/Laravel-Dockerized

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel-Dockerized

This is a simple boilerplate to dockerize a Laravel project including services such as :

  • nginx
  • mysql
  • php
  • artisan
  • composer
  • npm

Runngin Project

  1. Clone The Project
  2. docker-compose run --rm composer create-project laravel/laravel .
  3. docker-compose up -d server
  4. open project in localhost:8000

Upgrade note

To upgrade the project you need to pull and re-create containers with the latest images. So you can stop containers and then run docker-composer with this options:

docker-compose up --force-recreate --build -d server

Services Guide

PhpMyadmin

To run this service simply use this command:

docker-compose up -d phpmyadmin

Then you can open 192.168.10.80 to see phpmyadmin login page. Mysql user definition is in service/mysql/mysql.env you can use them to log in. To change the ip or port you can simply edit docker-compose.yml and phpmyadmin service.

About

This project is finalized version of dockerized Laravel including services such as : nginx - mysql - php - artisan - composer & npm

Topics

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors