nickbreen/docker-wp-cli

site title and site url are not updated when wp-cli service is re-run/-deployed

Opened this issue · 1 comments

It should update the url and title (possibly via wp option update ...).

It should probably also re-set the admin user as per the configuration.

Could just append the commands to WP_COMMANDS in docker-compose.yml.

WP_COMMANDS: |
  option siteurl update $WP_URL
  option title update $WP_TITLE