https://github.com/zmitry/php-home
https://github.com/zmitry/php-home
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zmitry/php-home
- Owner: zmitry
- Created: 2018-02-11T01:26:46.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-04T15:39:29.000Z (about 8 years ago)
- Last Synced: 2025-05-29T04:37:09.948Z (about 1 year ago)
- Language: PHP
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## docker-compose configuration
This configuration basically resembles a mix of [cmaessen's docker-php-sendmail](https://github.com/cmaessen/docker-php-sendmail) project and [mikechernev's NGINX configuration](https://github.com/mikechernev/dockerised-php).
It includes the following:
- NGINX
- port [8080](http://localhost:8080)
- PHP
- FPM configured for NGINX
- place `.php` files into a directory named *"code"* for them to be executable
- sendmail
- MailDev
- you might want to adjust the root mail address in `Dockerfile:10`
- port [8081](http://localhost:8081)
- MySQL
- you also might want to adjust the default password (which is *"password"*) in `docker-compose.yml`
- port 3306
- phpmyadmin
- defaults see `docker-compose.yml`, also consider changing the password here too
- port [8082](http://localhost:8082)