This repository can be used to host LAMP (Linux, Apache, Mariadb, PHP) server using docker compose. The docker images used for building LAMP stack are:-
- php:7.4-apache
 - mariadb:10.5.1-bionic
 - phpmyadmin/phpmyadmin
 
-  
The default configuration is saved as
sample_env. Copy contents fromsample_envto.env.$ cp sample_env .env -  
Make necessary changes to
.envfile. -  
Build docker-compose image using the following command.
$ docker-compose build --no-cache -  
Run docker-compose using the following command.
$ docker-compose up -d -  
To shut down docker-compose container, using the following command.
$ docker-compose down 
- bin: Contains Dockerfile for each docker image.
 - config: Contains configurations for apache2, php and vhosts.
 - data: Contains data generated by docker containers.
 - logs: Contains logs from docker containers.
 
- Sashwat K sashwat0001@gmail.com