Skip to content

LAMP is abbreviate of Linux + Apache + MySQL/MariaDB + PHP and this project is composition of Docker containers for creating a local LAMP

Notifications You must be signed in to change notification settings

botxbet/docker-lamp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker based LAMP

LAMP is abbreviate of Linux Apache MySQL/MariaDB PHP.

That mean complete environment for development on PHP language.

How to use

Just copy docker-compose.yml from dist example

cp docker-compose.dist.yml docker-compose.yml

Then build

docker-compose build

And run composition

docker-compose up -d

After this you may go to https://localhost and will see the NGINX default index page.

Of course you wan to pass your PHP files to this composition, for this you need overwrite strings like:

- ./app:/var/www/html

To your path with sources, eg - ../my-sources-in-parent-folder:/var/www/html.

If you don't like /var/www/html path, you may create your own config of apache and bind it into php or if you use fpm based container, then write config for NGINX and bind it nginx container.

Links

About

LAMP is abbreviate of Linux + Apache + MySQL/MariaDB + PHP and this project is composition of Docker containers for creating a local LAMP

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 99.2%
  • PHP 0.8%