Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leohmoraes/laravel56-docker
Laravel 5.6, PHP 7.4, Git, Composer, Redis
https://github.com/leohmoraes/laravel56-docker
docker laravel larvel56 php74
Last synced: 1 day ago
JSON representation
Laravel 5.6, PHP 7.4, Git, Composer, Redis
- Host: GitHub
- URL: https://github.com/leohmoraes/laravel56-docker
- Owner: leohmoraes
- License: mit
- Created: 2021-08-30T19:50:45.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-30T20:18:43.000Z (about 3 years ago)
- Last Synced: 2024-10-12T12:41:02.168Z (about 1 month ago)
- Topics: docker, laravel, larvel56, php74
- Language: Dockerfile
- Homepage: https://hub.docker.com/repository/docker/leohmoraes/laravel56
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[![Docker Hub; wyveo/nginx-php-fpm](https://img.shields.io/badge/docker%20hub-wyveo%2Fnginx--php--fpm-blue.svg?&logo=docker&style=for-the-badge)](https://hub.docker.com/r/wyveo/nginx-php-fpm/) [![](https://badges.weareopensource.me/docker/pulls/wyveo/nginx-php-fpm?style=for-the-badge)](https://hub.docker.com/r/wyveo/nginx-php-fpm/) [![](https://img.shields.io/docker/image-size/wyveo/nginx-php-fpm/php74?style=for-the-badge)](https://hub.docker.com/r/wyveo/nginx-php-fpm/) [![nginx 1.19.10](https://img.shields.io/badge/nginx-1.19.10-brightgreen.svg?&logo=nginx&logoColor=white&style=for-the-badge)](https://nginx.org/en/CHANGES) [![php 7.4.18](https://img.shields.io/badge/php--fpm-7.4.18-blue.svg?&logo=php&logoColor=white&style=for-the-badge)](https://secure.php.net/releases/7_4_18.php) [![License MIT](https://img.shields.io/badge/license-MIT-blue.svg?&style=for-the-badge)](https://github.com/wyveo/nginx-php-fpm/blob/master/LICENSE)
## Introduction
This is a Dockerfile to build a debian based container image running nginx and php-fpm 8.0.x / 7.4.x / 7.3.x / 7.2.x / 7.1.x / 7.0.x & Composer.### Versioning
| Docker Tag | GitHub Release | Nginx Version | PHP Version | Debian Version | Composer
|-----|-------|-----|--------|--------|------|
| latest | master Branch |1.19.10 | 8.0.5 | buster | 2.0.13 |
| php80 | php80 Branch |1.19.10 | 8.0.5 | buster | 2.0.13 |
| php74 | php74 Branch |1.19.10 | 7.4.18 | buster | 1.10.22 |
| php73 | php73 Branch |1.19.10 | 7.3.28 | buster | 1.10.22 |
| php72 | php72 Branch |1.19.10 | 7.2.34 | buster | 1.10.22 |
| php71 | php71 Branch |1.19.10 | 7.1.33 | buster | 1.10.22 |
| php70 | php70 Branch |1.19.10 | 7.0.33 | buster | 1.10.22 |## Building from source
To build from source you need to clone the git repo and run docker build:
```sh
$ git clone https://github.com/wyveo/nginx-php-fpm.git
$ cd nginx-php-fpm
```followed by
```sh
$ docker build -t nginx-php-fpm:php74 . # PHP 7.4.x
```## Pulling from Docker Hub
```sh
$ docker pull wyveo/nginx-php-fpm:7.4
```## Running
To run the container:
```sh
$ sudo docker run -d wyveo/nginx-php-fpm:7.4
```## Link Symbolic
```sh
$ ln -s public html
```Default web root:
```
/usr/share/nginx/html
```## Docker Desktop
project name:port number:
path local: root path of project
path docker: type /usr/share/nginx