Published

WordPress

Open-source PHP content management system for websites and blogs. The standard Docker deployment runs the official wordpress image (Apache + PHP) with a MariaDB database.

Resources by load level

What the app itself needs at each level, next to what we recommend for a server that runs only this app.

LevelWhat it meansApp requirementsRecommended
LightEstimateUp to 2 uncached page requests at once, up to 10 light plugins (128 MB PHP limit), up to 5 GiB in wp-content, database up to 128 MiB.2 vCPU · 0.625 GiB RAM · 7 GiB disk2.52 vCPU · 2.25 GiB RAM · 17.595 GiB disk
MediumEstimateUp to 4 uncached page requests at once, about 30 plugins (128 MB PHP limit), up to 20 GiB in wp-content, database up to 512 MiB.4 vCPU · 1.5 GiB RAM · 22.625 GiB disk4.92 vCPU · 3.3 GiB RAM · 35.564 GiB disk
HeavyEstimateUp to 8 uncached page requests at once, heavy plugins such as a store or page builder (256 MB PHP limit), up to 50 GiB in wp-content, database up to 1 GiB.8 vCPU · 3.875 GiB RAM · 53.625 GiB disk9.72 vCPU · 6.15 GiB RAM · 71.214 GiB disk

Recommended = app requirements + system baseline + safety headroom, under sizing policy 2026.10.0. Options stay at their defaults. “Estimate” means the sources give no number for that case, so it is worked out from them by the method stated under Components. How the numbers are built

Size it in the Stack Sizer

Need a server for this? Look for at least 2.52 vCPU / 2.25 GiB RAM

Based on the Recommended figure for Light load above, which includes system baseline and safety headroom.

ANAROQ is in development and doesn't sell servers. These are some options for renting a server, in no particular order.

Regular links, not affiliate links. ANAROQ earns nothing from them. Providers are not ranked. How ANAROQ may earn from links

Ready-to-run files

Support level Run-tested

Compose template verified by a run on the current profile version.

Create docker-compose

Components

What each component needs at each load level, before baseline and headroom.

vCPU / GiB RAM / GiB disk
ComponentLightMediumHeavySources
WordPress (Apache + PHP 8.4) (app)1.5 / 0.375 / 63 / 0.625 / 216 / 2.125 / 51[6][7][11][14][15][16][17][18]
MariaDB (database)0.5 / 0.25 / 11 / 0.875 / 1.6252 / 1.75 / 2.625[19][20][25][26]
Redis (object cache) (cache)———
How the estimates are worked out
  • WordPress (Apache + PHP 8.4) · Light: vCPU: prefork + mod_php runs one non-threaded process per request, and a request waits on its DB query, so 2 concurrent requests need at most 2 vCPU; 75% here (1.5). RAM: OPcache 128 MiB + 2 x 128 MiB memory_limit = 0.375 GiB. Disk: image 266 MiB compressed, 1 GiB allowed for unpacked layers and core files, + 5 GiB wp-content.
  • WordPress (Apache + PHP 8.4) · Medium: Same method as light with 4 concurrent requests: vCPU 75% of 4 = 3. RAM: OPcache 128 MiB + 4 x 128 MiB memory_limit = 0.625 GiB. Disk: 1 GiB image allowance + 20 GiB wp-content.
  • WordPress (Apache + PHP 8.4) · Heavy: Same method with 8 concurrent requests: vCPU 75% of 8 = 6. RAM: memory_limit raised to 256M (WordPress's default WP_MAX_MEMORY_LIMIT) for heavy plugins: OPcache 128 MiB + 8 x 256 MiB = 2.125 GiB. Disk: 1 GiB image allowance + 50 GiB wp-content.
  • MariaDB · Light: vCPU: the remaining 25% of the 2-vCPU request budget. RAM: default buffer pool 128 MiB holds the 128 MiB database; 128 MiB / 0.6 (pool = 60-70% of RAM) = 0.21, rounded up to 0.25 GiB. Disk: image 103 MiB compressed, 0.5 GiB allowed + 128 MiB data + 96 MiB redo log + 128 MiB local dump = 0.85, rounded to 1 GiB.
  • MariaDB · Medium: vCPU: 25% of the 4-vCPU request budget. RAM: buffer pool raised to 512 MiB to hold the database; 512 MiB / 0.6 = 0.83, rounded up to 0.875 GiB. Disk: 0.5 GiB image allowance + 0.5 GiB data + 96 MiB redo log + 0.5 GiB local dump = 1.59, rounded to 1.625 GiB.
  • MariaDB · Heavy: vCPU: 25% of the 8-vCPU request budget. RAM: buffer pool raised to 1 GiB to hold the database; 1 GiB / 0.6 = 1.67, rounded up to 1.75 GiB. Disk: 0.5 GiB image allowance + 1 GiB data + 96 MiB redo log + 1 GiB local dump = 2.59, rounded to 2.625 GiB.
  • redis-object-cache · Redis (object cache): RAM: Redis run as a cache with maxmemory 128mb and allkeys-lru (Redis eviction docs); usage can briefly exceed the limit, so 0.25 GiB. Disk: image 53 MiB compressed, 0.25 GiB allowed; no persistence, since cache entries are copies of DB data. vCPU: a 0.1 allowance; lookups replace DB queries already inside the request vCPU budget.

Options that change resources

redis-object-cache

Adds a Redis container as a persistent object cache, so WordPress reads options and query results from memory instead of the database on every page view. Needs an object-cache plugin.

Default: off

  • When on: Redis (object cache) +0.1 vCPU · +0.25 GiB RAM · +0.25 GiB disk [8][27][30]

Ports

Public ports are meant to be reached from outside the stack, usually through a reverse proxy; internal ones stay on the stack's own network.

ComponentPortExposurePurposeSources
WordPress (Apache + PHP 8.4)80/tcpPublic, through a proxyHTTP site and wp-admin (Apache), behind a TLS reverse proxy[11][12]
MariaDB3306/tcpInternal onlyMariaDB client protocol for WordPress[24]
Redis (object cache)6379/tcpInternal onlyRedis protocol for the object cache (only with the option enabled)[29]

Every port in the catalog, with conflicts between apps

User and permissions (UID/GID)

The user each container's process runs as, and the paths it writes to. A bind mount for one of these paths must be writable by that UID:GID.

ComponentUID:GIDUserStarts as rootWrites toSources
WordPress (Apache + PHP 8.4)33:33www-dataYes, prepares its directories, then drops to this user/var/www/html[11][15][31]
MariaDBDerived999:999mysqlYes, prepares its directories, then drops to this user/var/lib/mysql[36][37][38]
Redis (object cache)999:999redisYes, prepares its directories, then drops to this user/data[29][39]
  • WordPress (Apache + PHP 8.4): The container starts as root: the entrypoint chowns an empty /var/www/html to www-data and copies WordPress in as that user, and Apache serves requests as www-data (effective UID 33 on the Debian variants).
  • MariaDB: The entrypoint starts as root, chowns /var/lib/mysql to mysql and re-execs with gosu mysql. The IDs are not fixed: useradd -r / groupadd -r on fresh ubuntu:noble take the top of the system range (SYS_UID_MAX 999). Check with: docker run --rm mariadb:12.3.3 id mysql.
  • Redis (object cache): The Dockerfile creates redis with fixed uid and gid 999; started as root, the entrypoint fixes ownership and drops to redis with setpriv. /data is the working directory where Redis writes snapshots.

Permission denied on a mount? Get the exact check and chown for this app

Storage growth

How much each component's data grows per month at each load level, on top of the disk in the profile. A value marked Assumption is ANAROQ's stated assumption, not a figure from the sources; the notes say what it rests on.

GiB per month
ComponentLightMediumHeavySources
WordPress (Apache + PHP 8.4)Assumption0.4171.6674.167[11]
MariaDBAssumption0.0110.0420.084[24]
What the growth figures rest on
  • WordPress (Apache + PHP 8.4): WordPress publishes no growth rate. Assumes the preset's wp-content allowance (5 GiB of uploads, themes, plugins) fills over 12 months: 5 / 12 = 0.417.
  • WordPress (Apache + PHP 8.4): Same 12-month assumption: 20 GiB wp-content / 12 = 1.667.
  • WordPress (Apache + PHP 8.4): Same 12-month assumption: 50 GiB wp-content / 12 = 4.167.
  • MariaDB: Assumes the preset's database size (128 MiB) is reached over 12 months: 0.125 / 12 = 0.0104, rounded up to 0.011. The redo log is fixed-size and already in the preset disk.
  • MariaDB: Same 12-month assumption: 0.5 GiB database / 12 = 0.0417, rounded up to 0.042.
  • MariaDB: Same 12-month assumption: 1 GiB database / 12 = 0.0833, rounded up to 0.084.

Upgrade and rollback

How to move to a new version safely, and how to go back if it fails.

Back up first

Back up both the database (mariadb-dump) and the /var/www/html volume, above all wp-content and wp-config.php, before updating. [10][25][32]

Upgrade steps

  1. Update WordPress core from Dashboard > Updates (minor and security releases install automatically). Core lives in the /var/www/html volume: a newer image tag does not replace an installed WordPress. [11][31][32]
  2. After a major update, open /wp-admin; if WordPress asks for a database update (wp-admin/upgrade.php), run it right away, then reactivate plugins if needed. [32]
  3. Update plugins and themes from the dashboard as well; outdated ones get no security fixes. [9][32]
  4. For a new PHP/Apache or MariaDB image, change the pinned tags and run docker compose pull and docker compose up -d. Across MariaDB major versions set MARIADB_AUTO_UPGRADE so mariadb-upgrade updates the system tables. [11][24]

Roll back

WordPress documents no downgrade: restore the database dump and the files volume taken before the update, and pin the previous image tags. After MARIADB_AUTO_UPGRADE, the system-table backup system_mysql_backup_*.sql.zst in the data directory helps a MariaDB downgrade. [10][24][32]DerivedThe update guide only says to back up so the site can be restored if there are issues; restoring that backup is therefore the rollback.

Known breaking changes

  • In 7.0: Minimum PHP raised from 7.2.24 to 7.4, and the database version changed (60717 to 61833), so the first admin visit runs a database update. The php8.4 image already meets the new minimum. [32][34][35]DerivedCompared required_php_version and wp_db_version in version.php of 6.9.10 and 7.0.0.

Limits

  • Figures assume dynamic (uncached) requests. A page cache plugin or CDN serves most anonymous views without PHP, so real page-view capacity depends heavily on cache hit rate. [8]
  • The official image ships no extra PHP extensions (it cannot send e-mail by itself). Plugins that need one, such as phpredis for a Redis object cache, require a custom image built FROM it. [11]
  • Uses PHP 8.4 and MariaDB 12.3 LTS. WordPress recommends PHP 8.3+ and MariaDB 10.11+; PHP 8.3 is security-only and PHP 8.2 reaches end of life on 31 December 2026. [3][5][23]

Security

  • Keep WordPress core, plugins and themes updated: older versions get no security fixes. The image keeps WordPress's automatic updates on, so core files live in the /var/www/html volume, not in the image tag. [9][11]
  • Do not publish MariaDB port 3306 (or Redis 6379) to the internet; keep them on the internal Docker network and give the WordPress DB user only the privileges it needs. [9][24]
  • Serve the site over HTTPS through a TLS-terminating reverse proxy that sets X-Forwarded-Proto; pass DB passwords and salts via Docker secrets (_FILE variables) rather than plain environment values. [3][11]

Backup

  • Back up both parts: the database and the files. Files backup alone does not include the database. [10]
  • Database: a logical dump with mariadb-dump (or mariadb-backup from the same server version) of the /var/lib/mysql data, not a copy of live data files. [24][25]
  • Files: the /var/www/html volume, above all wp-content (uploads, themes, plugins) and wp-config.php. The Redis cache needs no backup. [10][11][27]

Latest release

Newest upstream release
WordPress 7.1.3 [4][33]
This profile was checked against

WordPress 7.1.3

This profile was checked against the newest release.

Checked on
13 Oct 2026
State
Checked within the last 90 days
Where releases are published
Project site

Latest releases of every app

Version

Profile status
Published
Checked against release
WordPress 7.1.3
Profile version
1.1.0
Figures verified
10 Oct 2026
Catalog release
2026.10.10
Sizing policy
2026.10.0
Compose file
Verified on 12 Oct 2026
Official site
wordpress.org

Sources

  1. MariaDB docs: Using Healthcheck.sh (--connect --innodb_initialized, WordPress example) (Official docs · read 11 Oct 2026)
  2. docker-library/wordpress: wp-config-docker.php (HTTP_X_FORWARDED_PROTO handling) (Official repository · read 11 Oct 2026)
  3. WordPress.org: Requirements (Official docs · read 10 Oct 2026)
  4. WordPress.org version-check API 1.7 (current release 7.1.3) (Release notes · read 10 Oct 2026)
  5. WordPress Hosting Handbook: Server Environment (Official docs · read 10 Oct 2026)
  6. WordPress Advanced Administration: wp-config.php (memory limits) (Official docs · read 10 Oct 2026)
  7. wordpress-develop 7.1.3: wp-includes/default-constants.php (Official repository · read 10 Oct 2026)
  8. WordPress Advanced Administration: Optimization (caching) (Official docs · read 10 Oct 2026)
  9. WordPress Advanced Administration: Hardening WordPress (Official docs · read 10 Oct 2026)
  10. WordPress Advanced Administration: Backups (Official docs · read 10 Oct 2026)
  11. Docker Official Image wordpress: documentation (Official docs · read 10 Oct 2026)
  12. Docker Official Image wordpress: example compose.yaml (Official Compose · read 10 Oct 2026)
  13. docker-library official-images: wordpress tags (Official repository · read 10 Oct 2026)
  14. docker-library/wordpress: php8.4 apache Dockerfile (OPcache settings) (Official repository · read 10 Oct 2026)
  15. docker-library/php: 8.4 apache Dockerfile (mpm_prefork) (Official repository · read 10 Oct 2026)
  16. Docker Hub: wordpress:7.1.3-php8.4-apache (compressed size) (Official repository · read 10 Oct 2026)
  17. PHP manual: core php.ini directives (memory_limit default 128M) (Official docs · read 10 Oct 2026)
  18. Apache HTTP Server 2.4: prefork MPM (Official docs · read 10 Oct 2026)
  19. MariaDB docs: InnoDB system variables (Official docs · read 10 Oct 2026)
  20. MariaDB docs: MariaDB Memory Allocation (Official docs · read 10 Oct 2026)
  21. MariaDB Foundation: maintenance policy (LTS) (Official docs · read 10 Oct 2026)
  22. MariaDB Server: all releases (12.3.3 stable) (Release notes · read 10 Oct 2026)
  23. docker-library official-images: mariadb tags (12.3 = lts) (Official repository · read 10 Oct 2026)
  24. Docker Official Image mariadb: documentation (Official docs · read 10 Oct 2026)
  25. MariaDB docs: Container Backup and Restoration (Official docs · read 10 Oct 2026)
  26. Docker Hub: mariadb:12.3.3 (compressed size) (Official repository · read 10 Oct 2026)
  27. Redis docs: Key eviction (maxmemory, allkeys-lru) (Official docs · read 10 Oct 2026)
  28. docker-library official-images: redis tags (Official repository · read 10 Oct 2026)
  29. redis/docker-library-redis v8.10.2: debian Dockerfile (Official repository · read 10 Oct 2026)
  30. Docker Hub: redis:8.10.2 (compressed size) (Official repository · read 10 Oct 2026)
  31. docker-library/wordpress: php8.4 apache docker-entrypoint.sh (runs as root, user www-data, copies WordPress only when not installed) (Official repository · read 13 Oct 2026)
  32. WordPress.org: Updating WordPress (back up first, one-click update, database update via wp-admin/upgrade.php) (Official docs · read 13 Oct 2026)
  33. WordPress.org: Releases (7.1.3 of October 6, 2026 is the latest release) (Release notes · read 13 Oct 2026)
  34. wordpress-develop 6.9.10: wp-includes/version.php (required_php_version 7.2.24, wp_db_version 60717) (Official repository · read 13 Oct 2026)
  35. wordpress-develop 7.0.0: wp-includes/version.php (required_php_version 7.4, wp_db_version 61833) (Official repository · read 13 Oct 2026)
  36. MariaDB/mariadb-docker 12.3 Dockerfile (12.3.3): groupadd -r mysql / useradd -r mysql on ubuntu:noble without fixed IDs, gosu (Official repository · read 13 Oct 2026)
  37. MariaDB/mariadb-docker 12.3 docker-entrypoint.sh: chowns the datadir to mysql, then exec gosu mysql (Official repository · read 13 Oct 2026)
  38. shadow-maint/shadow lib/find_new_uid.c: system IDs taken in SYS_UID_MIN..SYS_UID_MAX (default UID_MIN - 1 = 999), searched from the top (Official repository · read 13 Oct 2026)
  39. redis/docker-library-redis v8.10.2: debian docker-entrypoint.sh (setpriv to redis when started as root) (Official repository · read 13 Oct 2026)
  40. WordPress.com About Us: a hosted version of the open-source software WordPress (Official docs · read 13 Oct 2026)
  41. WordPress.org About (footer: the WordPress trademark is the property of the WordPress Foundation) (Official docs · read 13 Oct 2026)
  42. Automattic About Us: the company behind WordPress.com, WooCommerce, Jetpack and others (Official docs · read 13 Oct 2026)

All self-hosted apps