Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

RUN PHP, MYSQL, PHPMYADMIN AND COMPOSER, NODEJE (WITH NPM) WITH THE HELP OF DOCKER

First of all download the structure from the github and run the command below to start the server, databases and all of the staff

Build or Rebuild the Docker Image

docker-compose build

Run your containers

docker-compose up 

or use this (recommended) :

docker-compose up -d

Now, to run composer or nodeje into the shell your have to get the shell access

Get a shell inside your container:

docker-compose exec web bash

Now, Check Node.js and npm versions:

node -v
npm -v

If you have any permission or storage permission issue, then run these commands into your docker container shell or bash access

Fix any permission or storage permission issue :

chmod -R 775 storage bootstrap/cache
chown -R www-data:www-data storage bootstrap/cache

About

The basic docker php, mysql, phpmyadmin setup

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages