https://github.com/fuxi-de/lamp_stack
LAMP Stack Docker Environment for Development Use
https://github.com/fuxi-de/lamp_stack
docker docker-compose lamp lamp-setup lamp-stack mysql php7 phpmyadmin
Last synced: 10 months ago
JSON representation
LAMP Stack Docker Environment for Development Use
- Host: GitHub
- URL: https://github.com/fuxi-de/lamp_stack
- Owner: fuxi-de
- License: mit
- Created: 2018-09-13T08:18:34.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-10-08T07:54:14.000Z (over 6 years ago)
- Last Synced: 2025-01-28T22:31:09.101Z (12 months ago)
- Topics: docker, docker-compose, lamp, lamp-setup, lamp-stack, mysql, php7, phpmyadmin
- Language: Dockerfile
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lamp Setup
This is a basic LAMP stack environment built using Docker Compose. It consists of the following:
* PHP 7.1
* Apache 2.4
* MySQL 5.7
* phpMyAdmin
## Installation
Clone this repository. Run `docker-compose up -d`.
```shell
cd lamp_stack/
docker-compose up -d
```
Your LAMP stack is now ready to go!! You can access it via `http://localhost`.
## CMS
In `./www/cms` you can add your chosen CMS and access it via apache. The Document root is currently configured to look at `./www` but you can change this if you like in the `docker-compose.yml` file.
## Web Server
Apache is configured to run on port 80. So, you can access it via `http://localhost`.
## PHP
The installed version of PHP is 7.1.
#### Extensions
By default the following extensions are installed.
* mysqli
* mbstring
* zip
* intl
* mcrypt
* curl
* json
* iconv
* xml
* xmlrpc
* gd
> If you want to install more extensions, update `./bin/webserver/Dockerfile` as you wish.
> Afterwards you have to rebuild the docker image by running `docker-compose build` and restart the containers.
## phpMyAdmin
phpMyAdmin is configured to run on port 8080.
http://localhost:8080/
username: root
password: root