Deploy Wordpress
This guide shows you how to use Wordpress, a web content management system.
To run it, follow these steps:
-
Install the
kraft
CLI tool and a container runtime engine, e.g. Docker. -
Clone the
examples
repository andcd
into theexamples/wordpress-all-in-one/
directory:
Make sure to log into Unikraft Cloud by setting your token and a metro close to you.
We use fra0
(Frankfurt, 🇩🇪) in this guide:
When done, invoke the following command to deploy this application on Unikraft Cloud:
The output shows the instance URL and other details:
In this case, the instance name is wordpress-fx5rb
.
They are different for each run.
Use a browser to access the install page of Wordpress. Fill out the form and complete the Wordpress install.
At any point in time, you can list information about the instance:
When done, you can remove the instance:
Customize Your Deployment
The current deployment uses the current stable version of Wordpress (6.5.5).
It also uses hard-coded values for the database name, user name, passwords.
You can update the Dockerfile
with other names.
Or expand the configuration to feature non-hard-coded values.
Wordpress modules can be deployed in the Wordpress instance without affecting the Unikraft Cloud build.
Other features, such as placing the databases files in a separate volume, can be considered.
Learn More
Use the --help
option for detailed information on using Unikraft Cloud:
Or visit the CLI Reference.