From 505d3401fb1efbf1286efd7a4c204ebaa908b915 Mon Sep 17 00:00:00 2001 From: James Blair Date: Wed, 11 Jan 2023 16:14:13 +1300 Subject: [PATCH] Start adding readme for wordpress chart. --- wordpress/README.org | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 wordpress/README.org diff --git a/wordpress/README.org b/wordpress/README.org new file mode 100644 index 0000000..c6ac3a9 --- /dev/null +++ b/wordpress/README.org @@ -0,0 +1,29 @@ +#+TITLE: Wordpress content management +#+AUTHOR: James Blair +#+EMAIL: mail@jamesblair.net +#+DATE: <2022-12-01 Thu 07:45> + +[[https://wordpress.org][Wordpress]] is a free and open-source content management system paired with a MySQL or MariaDB database. Features include a plugin architecture and a template system, referred to within WordPress as "Themes". WordPress was originally created as a blog-publishing system but has evolved to support other web content types. + +I created this helm chart for self-hosting wordpress in a container on ~k3s~. Complete the steps below to deploy this chart. + +#+NAME: Deploy wordpress via helm +#+begin_src tmate +# Ensure wordpress namespace exists +kubectl create namespace jamma-wordpress + +# Create directories if they don't already exist +#mkdir --parent "/home/${USER}/Services/wordpress" + +# Clone charts repository +#cd "/home/${USER}/Services/wordpress" && git clone https://gitea.jamma.life/jmhbnz/charts.git + +# Ensure the repository is up to date +#cd charts/wordpress && git pull + +# Install the chart +helm upgrade --install -n jamma-wordpress jamma-wordpress . \ + --set "ingress.hosts[0]=wordpress.jamma.dev" \ + --set "ingress.tls[0].hosts[0]=wordpress.jamma.dev" \ + --set "ingress.tls[0].secretName=tls-jamma-wordpress" +#+end_src