Skip to content

marciopocebon/alpine-nginx-php7

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker hub docker hub

Overview

This image is base one the https://hub.docker.com/r/richarvey/alpine-nginx-php7/

I just add some line to set the display_errors, error_reporting, error_log

This is a Dockerfile/image to build a container for nginx and php-fpm, with the ability to pull website code from git when the container is created, as well as allowing the container to push and pull changes to the code to and from git. The container also has the ability to update templated files with variables passed to docker in order to update your code and settings. There is support for lets encrypt SSL configurations, custom nginx configs, core nginx/PHP variable overrides for running preferences, X-Forwarded-For headers and UID mapping for local volume support.

If you have improvements or suggestions please open an issue or pull request on the GitHub project page.

Versioning

Docker Tag GitHub Release Nginx Version PHP Version Alpine Version
latest Master Branch 1.13.6 7.1.10 3.4

For other tags please see: versioning

Links

Quick Start

To pull from docker hub:

docker pull jcsofts/alpine-nginx-php7:latest

Running

To simply run the container:

sudo docker run -d jcsofts/alpine-nginx-php7

To dynamically pull code from git when starting:

docker run -d -e 'GIT_EMAIL=email_address' -e 'GIT_NAME=full_name' -e 'GIT_USERNAME=git_username' -e 'GIT_REPO=github.com/project' -e 'GIT_PERSONAL_TOKEN=<long_token_string_here>' jcsofts/alpine-nginx-php7:latest

You can then browse to http://<DOCKER_HOST> to view the default install files. To find your DOCKER_HOST use the docker inspect to get the IP address (normally 172.17.0.2)

For more detailed examples and explanations please refer to the documentation.

Documentation

Guides

About

alpine nginx php7-fpm xdebug

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 44.9%
  • CSS 31.9%
  • Dockerfile 17.2%
  • HTML 5.9%
  • PHP 0.1%