mirror of
https://github.com/zebrajr/LAMPinDocker.git
synced 2025-12-06 00:20:22 +01:00
47 lines
1.6 KiB
Markdown
47 lines
1.6 KiB
Markdown
# LAMP in Docker
|
|
A ready-to-use LAMP stack in Docker to be able to dev. and test with Apache / MySQL / PHP
|
|
|
|
### Situation
|
|
You want to test or develop a PHP / Apache / MySQL software, but don't want to install a LAMP stack directly on your OS
|
|
|
|
### Task
|
|
Being able to deploy a LAMP stack, quickly, without having to worry about local dependencies, compatibility and other issues.
|
|
|
|
### Action
|
|
- Clone the repo and start the docker-compose.yml
|
|
```sh
|
|
docker-compose up
|
|
```
|
|
|
|
- Create a database
|
|
|
|
In phpMyAdmin
|
|
```sh
|
|
Default: http://127.0.0.1:1238
|
|
```
|
|
|
|
### Result
|
|
Use the folder "html" for your web service files
|
|
|
|
Files related to the MySQL will be saved in the folder "mySql"
|
|
|
|
### Note
|
|
|
|
### ToDo
|
|
|
|
|
|
|
|
Ps.: Feel free to improve :)
|
|
|
|
|
|
## Some Statistics
|
|
<img src="https://img.shields.io/github/license/zebrajr/LAMPinDocker?logo=github"><img src="https://img.shields.io/github/forks/zebrajr/LAMPinDocker?logo=github"><img src="https://img.shields.io/github/stars/zebrajr/LAMPinDocker?logo=github">
|
|
<br>
|
|
<img src="https://img.shields.io/github/last-commit/zebrajr/LAMPinDocker?logo=gitfs"><img src="https://img.shields.io/maintenance/yes/2021">
|
|
<br>
|
|
<img src="https://img.shields.io/github/repo-size/zebrajr/LAMPinDocker?logo=files"><img src="https://img.shields.io/tokei/lines/github/zebrajr/LAMPinDocker?logo=files">
|
|
<br>
|
|
<img src="https://img.shields.io/github/issues-raw/zebrajr/LAMPinDocker?logo=gitbook"><img src="https://img.shields.io/github/issues-closed-raw/zebrajr/LAMPinDocker?logo=gitbook">
|
|
<br>
|
|
<img src="https://img.shields.io/github/issues-pr-raw/zebrajr/LAMPinDocker?logo=git"><img src="https://img.shields.io/github/issues-pr-closed-raw/zebrajr/LAMPinDocker?logo=git">
|