WordPress

  • By Canonical IS DevOps
Channel Revision Published Runs on
latest/stable 87 07 Mar 2024
Ubuntu 22.04
latest/edge 93 16 Apr 2024
Ubuntu 22.04
juju deploy wordpress-k8s
Show information

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.


Help improve this document in the forum (guidelines). Last updated 8 months ago.