{"id":16368328,"url":"https://github.com/bfren/docker-wordpress","last_synced_at":"2026-03-05T11:01:46.410Z","repository":{"id":37041143,"uuid":"311038952","full_name":"bfren/docker-wordpress","owner":"bfren","description":"Docker WordPress image.","archived":false,"fork":false,"pushed_at":"2025-12-18T14:19:37.000Z","size":544,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-21T19:02:51.847Z","etag":null,"topics":["docker","docker-wordpress","nginx","php","wordpress"],"latest_commit_sha":null,"homepage":"","language":"Nushell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bfren.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"bfren","patreon":"bfren"}},"created_at":"2020-11-08T10:40:06.000Z","updated_at":"2025-12-18T14:19:29.000Z","dependencies_parsed_at":"2023-11-10T12:50:34.247Z","dependency_job_id":"0803d030-dca3-4d48-badc-5cb5ae9e35f7","html_url":"https://github.com/bfren/docker-wordpress","commit_stats":null,"previous_names":[],"tags_count":268,"template":false,"template_full_name":null,"purl":"pkg:github/bfren/docker-wordpress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfren%2Fdocker-wordpress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfren%2Fdocker-wordpress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfren%2Fdocker-wordpress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfren%2Fdocker-wordpress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bfren","download_url":"https://codeload.github.com/bfren/docker-wordpress/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfren%2Fdocker-wordpress/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30121059,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T10:44:24.758Z","status":"ssl_error","status_checked_at":"2026-03-05T10:44:15.079Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-wordpress","nginx","php","wordpress"],"created_at":"2024-10-11T02:52:26.073Z","updated_at":"2026-03-05T11:01:46.400Z","avatar_url":"https://github.com/bfren.png","language":"Nushell","funding_links":["https://github.com/sponsors/bfren","https://patreon.com/bfren"],"categories":[],"sub_categories":[],"readme":"# Docker WordPress\n\n![GitHub release (latest by date)](https://img.shields.io/github/v/release/bfren/docker-wordpress) ![Docker Pulls](https://img.shields.io/endpoint?url=https%3A%2F%2Fbfren.dev%2Fdocker%2Fpulls%2Fwordpress) ![Docker Image Size](https://img.shields.io/endpoint?url=https%3A%2F%2Fbfren.dev%2Fdocker%2Fsize%2Fwordpress) ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/bfren/docker-wordpress/dev.yml?branch=main)\n\n[Docker Repository](https://hub.docker.com/r/bfren/wordpress) - [bfren ecosystem](https://github.com/bfren/docker)\n\nComes with [WordPress](https://en-gb.wordpress.org) en_GB preinstalled - if you want a different locale, use the Dockerfiles and set the `WP_LOCALE` argument.  [Ninja Firewall](https://wordpress.org/plugins/ninjafirewall/) is preinstalled and setup to work in [Full WAF mode](https://blog.nintechnet.com/full_waf-vs-wordpress_waf/).  [WP-WebAuthn](https://wordpress.org/plugins/wp-webauthn/) is also preinstalled to provide support for passkey authentication.\n\nThe required and recommended PHP modules are all installed.\n\n## Contents\n\n* [Ports](#ports)\n* [Volumes](#volumes)\n* [Environment Variables](#environment-variables)\n* [Helper Functions](#helper-functions)\n* [Nginx Configuration Helpers](#nginx-configuration-helpers)\n* [Licence / Copyright](#licence)\n\n## Ports\n\n* 80\n\n## Volumes\n\n| Volume            | Purpose                                              |\n| ----------------- | ---------------------------------------------------- |\n| `/wp-content`     | `wp-content` directories and `wp-config.php` file.   |\n\nSee the [Nginx](https://github.com/bfren/docker-nginx) image for other configuration details.\n\n## Environment Variables\n\nSee the [Nginx + PHP](https://github.com/bfren/docker-nginx-php) image for details of `www.conf` and `php.ini` overrides using environment variables.\n\n| Variable                          | Values           | Description                                                                                                                                | Default                                               |\n| --------------------------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------- |\n| `BF_WP_CLEAN_INSTALL`             | 0 or 1           | Set to 1 to wipe WordPress files and start again (WARNING: YOU WILL LOSE EVERYTHING!).                                                     | 0                                                     |\n| `BF_WP_CONFIG_ADDITIONAL`         | string           | Additional configuration settings to add to the end of `wp-config.php` - use in conjunction with WP_CONFIG_GENERATE=harden.                | *None*                                                |\n| `BF_WP_CONFIG_HARDEN`             | 0 or 1           | Default value 1 makes `wp-config.php` readonly. Value 0 makes it writeable - helpful for plugins that need to write values to it.          | 1                                                     |\n| `BF_WP_CONFIG_REGENERATE`         | 0 or 1           | Default value 1 generates `wp-config.php` each time and makes readonly. Value 0 generates if it does not exist but then leaves it alone.   | harden                                                |\n| `BF_WP_DB_NAME`                   | string           | Database name.                                                                                                                             | *None* - required if `BF_WP_CONFIG_REGENERATE` is '1' |\n| `BF_WP_DB_USER`                   | string           | Database username.                                                                                                                         | *None* - required if `BF_WP_CONFIG_REGENERATE` is '1' |\n| `BF_WP_DB_PASS`                   | string           | Database password.                                                                                                                         | *None* - required if `BF_WP_CONFIG_REGENERATE` is '1' |\n| `BF_WP_DB_HOST`                   | string           | Database host.                                                                                                                             | *None* - required if `BF_WP_CONFIG_REGENERATE` is '1' |\n| `BF_WP_DB_CHARSET`                | string           | Database character set (leave as default if not sure).                                                                                     | utf8mb4                                               |\n| `BF_WP_DB_COLLATE`                | string           | Database collation (leave blank if not sure).                                                                                              | *None*                                                |\n| `BF_WP_DB_PREFIX`                 | string           | Database table prefix - an underscore will be added automatically.                                                                         | wp                                                    |\n| `BF_WP_DEBUG`                     | true or false    | Whether or not to enable debug mode.                                                                                                       | false                                                 |\n| `BF_WP_DISABLE_MAJOR_UPDATES`     | 0 or 1           | Set to 0 to enable WordPress core major system updates (otherwise they are handled by the image).                                          | 1                                                     |\n| `BF_WP_ENABLE_HTTPS_BEHIND_PROXY` | 0 or 1           | Whether or not to enable HTTPS behind a proxy server.                                                                                      | 1                                                     |\n| `BF_WP_INSTALL_NINJAFIREWALL`     | 0 or 1           | Whether or not to install the NinjaFirewall plugin.                                                                                        | 1                                                     |\n| `BF_WP_INSTALL_WEBAUTHN`          | 0 or 1           | Whether or not to install the WebAuthn plugin.                                                                                             | 1                                                     |\n| `BF_WP_REDIS_HOST`                | string           | Set to enable redis on the specified host.                                                                                                 | *None*                                                |\n| `BF_WP_REDIS_PORT`                | integer          | Set to override the default redis port (6379).                                                                                             | *None*                                                |\n| `BF_WP_USE_SYSTEM_CRON`           | 0 or 1           | Set to 0 to use WordPress cron instead of system cron (reduces page performance).                                                          | 1                                                     |\n\n## Helper Functions\n\n| Function              | Purpose                                                                                        | Usage                 |\n| --------------------- | ---------------------------------------------------------------------------------------------- | --------------------- |\n| `wp-cron`             | Runs the WordPress cron - if `WP_USE_SYSTEM_CRON` is 1, will be run automatically.             | `wp-cron`             |\n\n## Nginx Configuration Helpers\n\nThe image contains a handful of useful Nginx configuration 'helper' files, which you can find in `/overlay/etc/nginx/helpers`.  They all begin with the prefix 'wp':\n\n| Helper               | Description                                                                                                           |\n| -------------------- | --------------------------------------------------------------------------------------------------------------------- |\n| `-restrictions.conf` | Adds various security-based restrictions.                                                                             |\n| `-subdirectory.conf` | Enables WordPress to run in a `wordpress` subdirectory - copy and replace with the name your own subdirectory to use. |\n\n## Licence\n\n\u003e [MIT](https://mit.bfren.dev/2020)\n\n## Copyright\n\n\u003e Copyright (c) 2020-2026 [bfren](https://bfren.dev) (unless otherwise stated)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbfren%2Fdocker-wordpress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbfren%2Fdocker-wordpress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbfren%2Fdocker-wordpress/lists"}