📖 Original Reference: Originally published with full volume mapping specs and storage pool benchmarks at alexmaina.dev/wordpress-su-nas .
Many developers who spin up WordPress on a home or small-business NAS (QNAP Container Station, Synology Container Manager, or Proxmox) face painful TTFB (Time to First Byte) latency of 2 to 5 seconds. Pages feel sluggish, and admin dashboards grind to a halt.
The root cause is rarely the CPU: it is almost always disk I/O bottlenecks on consumer NAS drives combined with default MySQL settings that write every single transient query to spinning mechanical disks.
Here is the tuned, production-ready docker-compose.yml stack with MariaDB performance tweaks and Redis in-memory object caching that brings response times under 200ms on local hardware.
1.…