Skip to content

Latest commit

 

History

History
56 lines (42 loc) · 3.32 KB

README.md

File metadata and controls

56 lines (42 loc) · 3.32 KB

vegardit/wordpress-ext

Build Status License Docker Pulls Docker Stars Contributor Covenant

  1. What is it?
  2. License

What is it?

This docker image extends the official Wordpress docker image wordpress:latest with additional support for LDAP auth, OPcache and reverse HTTPS proxies.

It is automatically built daily to include the latest OS security fixes.

  1. Adds PHP LDAP client support.

  2. Enables the php-production.ini configuration.

  3. Adds OPcache, wich can be configured via the following environment variables:

    PHP_OPCACHE_ENABLE="1"                     # Enables the opcode cache
    PHP_OPCACHE_INTERNED_STRINGS_BUFFER="8"    # Amount of memory used to store interned strings, in MB.
    PHP_OPCACHE_LOG_VERBOSITY_LEVEL="1"        # The log verbosity level. 0 to 4
    PHP_OPCACHE_MAX_ACCELERATED_FILES="10000"
    PHP_OPCACHE_MAX_WASTED_PERCENTAGE="5"      # The max. percentage of wasted memory before a restart is scheduled.
    PHP_OPCACHE_MEMORY_CONSUMPTION="128"       # Shared memory storage used, in MB.
    PHP_OPCACHE_REVALIDATE_FREQ="2"
    PHP_OPCACHE_VALIDATE_TIMESTAMPS="1"        # If enabled, checks for updated scripts every $PHP_OPCACHE_REVALIDATE_FREQ seconds.
  4. Configures force HTTPS Login / Admin UI via environment variables:

    WP_FORCE_SSL_LOGIN="true" # default is "false"
    WP_FORCE_SSL_ADMIN="true" # default is "false"

    See https://wordpress.org/support/article/administration-over-ssl/

  5. Enables support for reverse proxies (e.g. Traefik) via environment variable

    WP_REVERSE_HTTPS_PROXY="true" # default is "false"

    See https://wordpress.org/support/article/administration-over-ssl/#using-a-reverse-proxy

License

All files in this repository are released under the GNU General Public License v2.0 or later.

Individual files contain the following tag instead of the full license text:

SPDX-License-Identifier: GPL-2.0-or-later

This enables machine processing of license information based on the SPDX License Identifiers that are available here: https://spdx.org/licenses/.