Skip to content

luk4z7/docker-build-php7-fpm-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ubuntu, php7-fpm and Nginx

Getting started

Clone the repository in folder do you prefer

cd /var/www
git clone https://github.com/luk4z7/docker-build-php7-fpm-nginx

Configure your dns if necessary in file resolv.conf before build, default is:

nameserver 8.8.8.8

Execute the file init.sh for up the docker containers

https://github.com/luk4z7/docker-build-php7-fpm-nginx 
Environment Ubuntu, php7-fpm and nginx 
 
     _            _                  _           _ _     _ 
  __| | ___   ___| | _____ _ __     | |__  _   _(_) | __| |
 / _` |/ _ \ / __| |/ / _ \ '__|____| '_ \| | | | | |/ _` |
| (_| | (_) | (__|   <  __/ | |_____| |_) | |_| | | | (_| |
 \__,_|\___/ \___|_|\_\___|_|       |_.__/ \__,_|_|_|\__,_|
                                                           
php7, nginx 

DOCKER
Generate new containers ? [ 1 ] 
Delete all containers ?   [ 2 ] 
Start new build ?         [ 3 ]

First step

Start new build          [ 3 ]

Second step

Generate new containers  [ 1 ]

Access log of an single container

docker logs php7 -f

Xdebug is disabled by default, by questions of performance when executing composer, for enable xdebug only execute one alias created on build, php_xdebug, for example when execute your tests with phpunit, because is necessary for to generate your tests coverage.

php_xdebug vendor/bin/phpunit

CHANGELOG

Link

About

Environment Ubuntu, php7-fpm and Nginx

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy