This guide shows you how to use Wordpress, a web content management system.
To run it, follow these steps:
-
Install the
kraftCLI tool and a container runtime engine, for example Docker. -
Clone the
examplesrepository andcdinto theexamples/wordpress-all-in-one/directory:
Code
Make sure to log into Unikraft Cloud by setting your token and a metro close to you.
This guide uses fra (Frankfurt, 🇩🇪):
Code
A Wordpress instance on Unikraft Cloud requires 3GB to run. Request an increase in the instance memory quota when you need more memory.
When done, invoke the following command to deploy this app on Unikraft Cloud:
Code
The output shows the instance address and other details:
Code
In this case, the instance name is wordpress-fx5rb.
They're different for each run.
Use a browser to access the install page of Wordpress. Fill out the form and complete the Wordpress install.
You can list information about the instance by running:
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.
You can deploy WordPress modules in the WordPress instance without affecting the build.
Learn more
Use the --help option for detailed information on using Unikraft Cloud:
Code
Or visit the CLI Reference.