App Store template
WordPress icon

WordPress

WordPress is a powerful, user-friendly and open source content management system (CMS) that can be used to publish websites, news, blogs and other content on the Internet.

Launch in your Sealos workspace.

WordPress template preview
Template previewFull screenshot
Template deployments
75 on Sealos
Deployment
Your own instance
Category
Blog

About this template

Overview

WordPress is an open-source content management system for publishing websites, blogs, news, and other web content. This template deploys WordPress 7.0.0 with KubeBlocks MySQL, persistent site storage, an HTTPS Ingress, and a Sealos App entry.

From the documentation

The template runs the official WordPress image behind a managed Kubernetes Service. WordPress files, themes, plugins, and uploads are stored on a 1 GiB persistent volume mounted at /var/www/html, so application content survives pod restarts.

How to deploy WordPress

  1. Choose Deploy now to start WordPress in your Sealos workspace.
  2. Sign in to Sealos and review the template configuration in your workspace.
  3. Launch the template, then inspect the application status and resource cards in Canvas.

Resources to plan for

Start with the resources defined by the WordPress template. Review CPU, memory, persistent storage, and network allocations for every service in Canvas. Capacity needs depend on your data and workload; monitor usage as they grow.

Template configuration and setup

Access after deployment

Use the application URL or connection details shown in Canvas. Follow the deployment guide for first-time account setup or client configuration, and keep generated credentials available for that step.

Hosting and billing

Sealos monthly plans include compute, memory, storage, and traffic. Size your plan for all deployed services. Software licenses and external AI or API services may have separate terms and charges. Confirm the applicable plan and optional charges in Cost Center.

Compare Sealos resource plans
Read full documentationCollapse documentation

For current cloud charges, refer to Sealos plan pricing. Upstream documentation may reference earlier billing models.

Deploy and Host WordPress on Sealos

WordPress is an open-source content management system for publishing websites, blogs, news, and other web content. This template deploys WordPress 7.0.0 with KubeBlocks MySQL, persistent site storage, an HTTPS Ingress, and a Sealos App entry.

WordPress Screenshot

About Hosting WordPress

The template runs the official WordPress image behind a managed Kubernetes Service. WordPress files, themes, plugins, and uploads are stored on a 1 GiB persistent volume mounted at /var/www/html, so application content survives pod restarts.

KubeBlocks MySQL ac-mysql-8.0.30-1 stores the WordPress database. An idempotent initialization Job creates the mydb database after MySQL becomes reachable. Sealos configures the generated HTTPS hostname and exposes it through the Sealos App entry.

Common Use Cases

  • Content sites: Publish blogs, news, documentation, and company websites.
  • Marketing pages: Combine themes and plugins for campaign pages and lead capture.
  • Editorial teams: Give writers and editors a shared publishing workflow.
  • Small communities: Run a self-hosted site with persistent media and user data.

Architecture and Dependencies

  • WordPress web service: WordPress 7.0.0 listens on port 80.
  • MySQL: A single KubeBlocks MySQL component provides the mydb database and a 1 GiB data volume.
  • Database initialization Job: Creates mydb with the managed MySQL connection Secret and exits after successful initialization.
  • Persistent site storage: The /var/www/html volume stores core files, themes, plugins, and media uploads.
  • Service, Ingress, and App entry: Sealos publishes the HTTPS URL and adds a direct launch entry.

Why Deploy WordPress on Sealos?

Sealos is an AI-assisted Cloud Operating System built on Kubernetes. The template packages WordPress, MySQL, storage, HTTPS routing, and an App entry so a content site can start with one deployment.

  • One-click setup: Provision the application and database together.
  • Persistent content: Keep themes, plugins, and uploads on managed storage.
  • Simple operations: Use Canvas resource cards and the AI dialog for updates.
  • Pay-as-you-go resources: Scale the site as traffic and media storage grow.

Configuration

This template has no additional deployment inputs. Sealos generates the application name and host, and KubeBlocks generates the database connection credentials.

Deployment Guide

  1. Open the WordPress template and click Deploy Now.
  2. Keep the default parameters unless you need a custom application name or host.
  3. Wait for MySQL, the initialization Job, and WordPress to become Ready. Typical Sealos deployments take 2-3 minutes; database provisioning can extend a first cold start. After deployment, Canvas provides the AI dialog and resource cards for further changes.
  4. Open the generated URL from the Sealos App entry.
  5. Complete the WordPress first-run form, choose the site language, create the administrator account, and sign in.
First-time setup, login, and user registration
  • A new deployment opens /wp-admin/install.php. Choose the site language, enter a site title, create the first administrator username and password, then submit the form.
  • Sign in later at /wp-login.php with that administrator account. The dashboard is available at /wp-admin/.
  • WordPress creates the first administrator during installation. Public account registration is controlled by Settings > General > Membership after login; enable Anyone can register only when the site should accept self-service accounts, then choose the default role.
  • Test the flow with a private browser window after enabling registration. Keep the administrator password in a password manager.

Storage and Operations

Use the Canvas resource cards to increase WordPress CPU or memory and to expand the /var/www/html volume as media and plugins grow. Sealos is built on Kubernetes and follows a pay-as-you-go resource model. Back up both the WordPress volume and the MySQL data before a migration or major plugin upgrade; use the Canvas AI dialog for configuration requests.

WordPress receives the MySQL host, port, username, password, and database name from the managed connection Secret. The Ingress allows 32 MiB request bodies and keeps long uploads within a 300-second proxy timeout.

Troubleshooting

The setup page reports a database error

Check that the MySQL Cluster is Ready and that the wordpress-mysql-init Job completed. Re-run the Job only after confirming the connection Secret points to the current MySQL Service.

Media uploads fail

Inspect the /var/www/html volume capacity and the Ingress request limit. Increase storage for large media libraries and keep individual uploads below the configured 32 MiB request limit.

The site uses an old host name

Open the Ingress and App resources in Canvas and confirm the generated app_host value. Update WordPress Address and Site Address from the WordPress settings after changing a custom domain.

Getting Help

Official Links

Additional Resources

License

This Sealos template is provided under the templates repository license. WordPress is distributed under the GNU General Public License version 2 or later.

From launch to everyday operations

Why deploy
on Sealos

A shorter path from an app you want to an app you can run. Sealos brings deployment and ongoing operations into one place.

  1. One-click deployment

    Start with a ready-made template. Review its configuration and launch from the Sealos console.

  2. Managed Kubernetes

    Run on managed infrastructure with built-in workload scheduling and recovery.

  3. Automatic HTTPS

    Give your application a public HTTPS endpoint with certificates managed for you.

  4. Persistent storage

    Keep application data on persistent volumes across container restarts.

  5. Room to grow

    Adjust CPU, memory, and replicas from the console as your workload changes.

One template. Connected resources.

You Get the Whole Stack

Sealos provisions the resources defined by your template and brings them together in your workspace.

  • App Service

    Container workloads with configurable CPU, memory, and replicas.

  • Public HTTPS URL

    An address for your app, with managed TLS certificates.

  • Database

    A database provisioned alongside your app when the template calls for one.

  • Persistent Volume

    Storage for the files and data your application needs to keep.

  • Environment Variables

    Application settings and secrets configured in one place.

  • Logs & Metrics

    Inspect container logs and resource usage from the console.

Resources and their configuration vary by template. Review the deployment form for this app’s exact setup.

Explore more production-ready templates.

More