{"repo":"sprintcube/docker-compose-lamp","free":true,"listed":false,"github":"https://github.com/sprintcube/docker-compose-lamp","clone":"git clone https://github.com/sprintcube/docker-compose-lamp.git","description":"A basic LAMP stack environment built using Docker Compose.","language":"Dockerfile","stars":2847,"topics":["lamp-stack","docker","docker-container","docker-compose","docker-image","apache2","virtual-hosts","php","phpmyadmin","mysql"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"LAMP stack built with Docker Compose A basic LAMP stack environment built using Docker Compose. It consists of the following: - PHP - Apache - MySQL - phpMyAdmin - Redis As of now, we have several different PHP versions. Use appropriate php version as needed: - 5.4.x - 5.6.x - 7.1.x - 7.2.x - 7.3.x - 7.4.x - 8.0.x - 8.1.x - 8.2.x - 8.3.x - 8.4.x Installation - Clone this repository on your local computer - configure .env as needed - Run the docker compose up -d . Your LAMP stack is now ready!! You can access it via http://localhost . Configuration and Usage General Information This Docker Stack is build for local development and not for production usage. Configuration This package comes with default configuration options. You can modify them by creating .env file in your root directory. To make it easy, just copy the content from sample.env file and update the environment variable values as per your need. Configuration Variables There are following configuration variables available and you can customize them by overwritting in your own .env file. --- PHP --- PHPVERSION Is used to specify which PHP Version you want to use. Defaults always to latest PHP Version. PHP INI Define your custom php.ini modification to meet your requirments. --- Apache --- DOCUMENT ROOT It is a document root for Apache server. The default value for this is ./www . All your sites will go here and will be synced automatically. APACHE DOCUMENT ROOT Apache config file value. The default value for this is ","default_branch":null,"files":null,"tree":[],"storefront":"/r/sprintcube","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sprintcube/docker-compose-lamp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}