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:
Code
Make sure to log into Unikraft Cloud by setting your token and a metro close to you.
We use fra0
(Frankfurt, ๐ฉ๐ช) in this guide:
Code
A Wordpress instance on Unikraft Cloud requires 3GB to run. You may be required to request increasing the instance memory quota.
When done, invoke the following command to deploy this application on Unikraft Cloud:
Code
The output shows the instance URL and other details:
Code
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:
Code
Code
When done, you can remove the instance:
Code
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:
Code
Or visit the CLI Reference.