Giter Site home page Giter Site logo

docker-php7_wp's Introduction

docker-php7_wp

Docker PHP7 Container for Wordpress

Included PHP Extensions

gd 
mysqli 
opcache 
tidy

OPcache settings

Recommended PHP.ini settings. See https://secure.php.net/manual/en/opcache.installation.php

opcache.memory_consumption=128
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=4000
opcache.revalidate_freq=60
opcache.fast_shutdown=1
opcache.enable_cli=1

Usage

You need to pass the needed directories inside the container. You can map www.conf inside as well to change the properties to your needs. pm.status_path is already set to /status.

Example:

docker run \
-d \
--restart=always \
--name php7-wp \
-h "docker-php7-wp" \
-v ${PWD}/www.conf:/usr/local/etc/php-fpm.d/www.conf \
-v /var/www/wordpress:/var/www/wordpress \
-p 127.0.0.1:9101:9000 schachr/php7_wp

Automatic Build details

This image has a repository link to the underlying base image php. Whenever this receives an update this container will automatically build itself again. There is an automatic build dependency to the github repository https://github.com/schachr/docker-php7_wp as well. All you need to do is to pull it, remove the container (docker rm) if neccessary and restart it (docker create/run).

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.