https://github.com/evilfreelancer/docker-lamp
LAMP is abbreviate of Linux + Apache + MySQL/MariaDB + PHP and this project is composition of Docker containers for creating a local LAMP
https://github.com/evilfreelancer/docker-lamp
apache docker docker-compose fpm lamp nginx
Last synced: 3 months ago
JSON representation
LAMP is abbreviate of Linux + Apache + MySQL/MariaDB + PHP and this project is composition of Docker containers for creating a local LAMP
- Host: GitHub
- URL: https://github.com/evilfreelancer/docker-lamp
- Owner: EvilFreelancer
- Created: 2019-11-21T00:36:59.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-07-28T11:10:43.000Z (almost 3 years ago)
- Last Synced: 2025-03-20T22:09:40.413Z (3 months ago)
- Topics: apache, docker, docker-compose, fpm, lamp, nginx
- Language: Dockerfile
- Homepage: https://www.youtube.com/watch?v=he-Rps8VcFk
- Size: 7.81 KB
- Stars: 17
- Watchers: 1
- Forks: 18
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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 http://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
* [Video on YouTube](https://www.youtube.com/watch?v=he-Rps8VcFk) about Docker LAMP
composition (on Russian language)
* [Video on YouTube](https://www.youtube.com/watch?v=qxGlQZIbpHM) about minimal
version of PHP-FPM and xDebug (on Russian language)
* [WIKI page](https://en.wikipedia.org/wiki/LAMP_software_bundle) about LAMP