computer-playbook/roles/docker-wordpress/README.md

948 B

role server_docker-wordpress

database

access database

To access the database execute

  docker exec -it wordpress-database-1 /bin/mysql -u wordpress -p

upgrade database

To upgrade the database execute

  docker exec -it wordpress-database-1 /bin/mysql_upgrade --user=root --password=

change database root password

bash in application

docker exec -it wordpress-application-1 /bin/sh

update wp-config.php

apt update && apt install nano && nano wp-config.php

multiside