Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aiiddqd/php.local
Simple docker composition for php/nginx with Makefile
https://github.com/aiiddqd/php.local
docker docker-compose makefile nginx php7
Last synced: about 7 hours ago
JSON representation
Simple docker composition for php/nginx with Makefile
- Host: GitHub
- URL: https://github.com/aiiddqd/php.local
- Owner: aiiddqd
- Created: 2020-01-17T13:45:08.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-19T11:31:27.000Z (almost 5 years ago)
- Last Synced: 2024-05-10T18:28:42.891Z (8 months ago)
- Topics: docker, docker-compose, makefile, nginx, php7
- Language: Makefile
- Homepage: http://php.local/
- Size: 4.88 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple docker composition for php/nginx
- url: http://php.local/
- chg /etc/hosts:
```
127.0.0.1 php.local
```# Makefile commands
- `make up` - start app
- `make log` - display log from docker
- `make stop`
- `make restart`# Snippets
## php composer setup
```
docker-compose run php-fpm composer install
```## php app shell
```
docker exec -ti php-fpm /bin/bash
```# Source
based on manual http://geekyplatypus.com/dockerise-your-php-application-with-nginx-and-php7-fpm/