Skip to content

ikiranis/laradock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create Docker with Laravel, Apache/PHP and Mysql

  • Edit .env file with your settings

  • Put your application files in /www folder

Install laravel with composer inside /www folder. Like this

composer create-project --prefer-dist laravel/laravel laradock
  • You must have installed composer (need PHP) at your PC

  • Run docker-compose up -d

  • It will create 2 containers (Apache Server and Mysql Server)

  • Mysql data files will be in /docker/mysql/data folder

You can create your apache image instead of apps4net/laravel-apache with the command

docker build -t laravel-apache docker/apache

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published