Skip to content

umar1147/docker-php7.1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Optimized for laravel 5.x

PHP 7.1 to Nginx

ENV:

  • PUID User ID of owner of the directory to binding. Default 33 (www-data user)

  • PGID Group ID of owner of the directory to binding. Default 33 (www-data group)

  • WORKDIR Docker workdir. Default: /home/dws

VOLUME:

php-fpm config:

  • config:/config (optional)

Bind projects:

  • myproject1:/home/dws/myproject1
  • myproject2:/home/dws/myproject2
  • myprojectN:/home/dws/myprojectN

RUN CONTAINER:

$ docker run -it --name php71 -v config:/config -v myproject1:/home/dws/myproject1 -e PUIG=1000 -e PGID=1000 omardavila64/php7.1:latest /bin/bash

About

Php7.1 to laravel optimized

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages