Need to find something?

Hire Me
Hire Me

Easily Host WordPress Sites Using Dokploy with Redis and Nginx

I got a great VPS deal during the last Black Friday campaign, so I started thinking about how to put it to good use.

Until now, I had been using Coolify as my Docker-based server management tool. It worked well, especially with Redis caching, Nginx and other related services. Recently, I became curious about Dokploy and wanted to give it a try.

To make the switch easier, I decided to recreate the same kind of Docker Compose setup for Dokploy. This article walks through that process step by step, so you can set up WordPress with Redis caching and Nginx on Dokploy in a clean, repeatable way.

Setting Up Dokploy

If Dokploy is not installed yet, you can set it up on a fresh VPS by running the command below.

"curl -sSL https://dokploy.com/install.sh | sh" ← Without the quotes
Code language: Bash (bash)

Run this command as a user with root or sudo access. Make sure the VPS is freshly provisioned for best results. After installation finishes, follow the on-screen instructions to complete the setup. You can find detailed info by following this link.

Once the script has finished running, open your web browser and navigate to http://your-ip-from-your-vps:3000. You will be directed to the initial setup page where you can configure the administrative account for Dokploy.

You can also follow this YouTube video to set up Dokploy and complete the initial configuration, including updating the settings to access Dokploy through a custom domain name and enabling SSL.

WordPress on Dokploy

You can add WordPress on Dokploy using the official template available in the Dokploy template library. At first, this feels convenient and fast. However, once you start using it longer term, the problems begin to surface.

itsmereal/dokploy-wp

itsmereal

Production-ready WordPress deployment stack for Dokploy with Redis caching, Nginx

View on GitHub
1 Contributor
1 Issues
3 Stars
3 Forks

To make it better, I have prepared a production-ready WordPress deployment stack optimized for Dokploy with Redis caching, Nginx, and management tools. This stack provides a high‑performance WordPress setup for Dokploy, using Docker Compose with:

  • Nginx as a reverse proxy
  • PHP‑FPM for WordPress execution
  • MariaDB as the database
  • Redis for object caching
  • phpMyAdmin for database management
  • Pre-installed WP-CLI

WordPress Installation Steps

  1. In Dokploy, go to Projects
  2. Create a Project or open an existing Project
  3. Click Create Service
  4. Choose Template
  5. Set the Base URL to:
    https://raw.githubusercontent.com/itsmereal/dokploy-wp/main
  6. You will find “WordPress + Redis Stack”
  7. Click Create and Confirm
  8. Click Deploy when the service is created
  9. Once deployed, you can go to the Domains tab and set your domain as needed
  10. Then go back to the General tab and click the Reload button
  11. When reloading is finished, you will have your WordPress site ready!

Happy Coding!

Last Updated: December 19, 2025

About Al-Mamun Talukder

Full-Stack Developer, Minimalist Designer, and Tech Enthusiast. Car lover & Founder of Omnixima.

Leave the first comment

Related Articles

Ready to Build Something Amazing?

Whether you’re looking to create a new website, optimize your server, or solve a tricky technical problem, I’m here to help. Let’s collaborate and bring your ideas to life.
Schedule a Free Meeting