WordPress
- Canonical IS DevOps
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 87 | 07 Mar 2024 | |
latest/stable | 13 | 06 Mar 2023 | |
latest/edge | 118 | 08 Oct 2024 | |
latest/edge | 15 | 30 Mar 2023 |
juju deploy wordpress-k8s --channel edge
Deploy Kubernetes operators easily with Juju, the Universal Operator Lifecycle Manager. Need a Kubernetes cluster? Install MicroK8s to create a full CNCF-certified Kubernetes system in under 60 seconds.
Platform:
How to configure initial settings*
*This only works when setting up WordPress initially, before database relation setup. Changing the value afterwards has no effect.
By providing configuration value for initial_settings
at deployment, you can tweak a few
WordPress settings. For detailed information on configurable parameters, please refer to the
reference guide.
WORDPRESS_SETTINGS=$(cat << EOF
user_name: admin
admin_email: admin@testing.com
admin_password: <strong-password>
EOF
)
juju deploy wordpress-k8s --config initial_settings=$WORDPRESS_SETTINGS
You can verify your initial WordPress settings by navigating to the general settings page in
WordPress(http://<wordpress-unit-ip>/wp-admin/options-general.php
).
You can also pass in the wordpress-k8s configuration.yaml
file with the parameters above. See how
to pass in a configuration file in the
juju documentation.