Code Monkey home page Code Monkey logo

docker-nginx-php7's Introduction

----- # docker-nginx-php7 A Nginx + PHP 7.0 (FPM) base container. Builds upon on the Ubuntu 16.04 LTS unsing [phusion/baseimage-docker](https://github.com/phusion/baseimage-docker) container. You can find the docker automated build [here](https://registry.hub.docker.com/u/ttaranto/docker-nginx-php7/).

Timezone

The machine is configured to user America/Sao_Paulo timezone. The Nginx configuration is ready to run a Laravel app.

Services

All services are defined and managed using the phusion/baseimage methodology. Logs are output using syslog and can be accessed using docker logs {container}.

  • Nginx (lastest)
  • PHP-FPM (7.0) (with Xdebug)
  • Composer (PHP)
  • Node.JS (lastest)
  • XTERM environment support w/colors

Default Settings

The container sets up a www root folder in the following location:

/var/www/public

As a final task a demo index.php is copied to this location.

Web Root

The following folder is specified as the default root web folder:

/var/www/public

Note that the /var/www/public is the root folder for serving PHP files for your web server.

Build Folder (within repo)

Contains nginx config files as well as php-fpm configs (setup.sh). Also include setup.sh file that offloads tasks from the Dockerfile to reduce layers.

Databases

This image supports mysql.

docker-nginx-php7's People

Contributors

mklemersson avatar ttaranto avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.