An open API service indexing awesome lists of open source software.

https://github.com/oliguo/docker-lampp-ubuntu

Build LAMPP(Ubuntu/Apache/Mysql/PHP/PhpMyadmin) by Docker(Docker File, Docker Compose)
https://github.com/oliguo/docker-lampp-ubuntu

apache docker docker-compose dockerfile lampp mysql php phpmyadmin ssl-certificate ubuntu

Last synced: about 2 months ago
JSON representation

Build LAMPP(Ubuntu/Apache/Mysql/PHP/PhpMyadmin) by Docker(Docker File, Docker Compose)

Awesome Lists containing this project

README

          

# Docker_LAMPP
Build LAMPP(Ubuntu/Apache/Mysql/PHP/PhpMyadmin) by Docker(Docker File, Docker Compose)

## Helpful Tools
[Dockerfile Online Editor](https://dockerfile-editor.com/)

[Dockerfile Online Validator](https://www.fromlatest.io/#/)

[Docker-Compose Online Validator](https://codebeautify.org/yaml-validator/)

## SSL Modification
Edit -subj what you want on dockerfile
```
RUN mkdir /var/ssl && cd /var/ssl \
&& openssl req -x509 -newkey rsa:4096 \
-subj "/C=HK/ST=HongKong/L=HongKong/O=Demo/CN=dockerlampp.com" \
-keyout "/var/ssl/key.pem" \
-out "/var/ssl/cert.pem" \
-days 3650 -nodes -sha256
```

Run as cmd
```
docker-compose up -d
```

After build succesfully, will be like as below
```
#view all container
docker ps -a

#view all images
docker images
```
![Ubuntu Case](https://github.com/oliguo/Docker-LAMPP-Ubuntu/blob/master/Ubuntu-Case.png)

Visit:

PHP:

http://localhost:8080

https://localhost:4433

PhpMyadmin:

http://localhost:9090