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)
- Host: GitHub
- URL: https://github.com/oliguo/docker-lampp-ubuntu
- Owner: oliguo
- Created: 2018-12-26T07:39:09.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-03T06:13:57.000Z (about 7 years ago)
- Last Synced: 2025-10-24T00:51:47.677Z (8 months ago)
- Topics: apache, docker, docker-compose, dockerfile, lampp, mysql, php, phpmyadmin, ssl-certificate, ubuntu
- Language: Dockerfile
- Size: 1.03 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```

Visit:
PHP:
http://localhost:8080
https://localhost:4433
PhpMyadmin:
http://localhost:9090