computer-playbook/roles/docker-wordpress
2023-08-22 22:53:44 +02:00
..
handlers Removed server_ for better overview 2023-08-22 22:53:44 +02:00
meta Removed server_ for better overview 2023-08-22 22:53:44 +02:00
tasks Removed server_ for better overview 2023-08-22 22:53:44 +02:00
templates Removed server_ for better overview 2023-08-22 22:53:44 +02:00
README.md Removed server_ for better overview 2023-08-22 22:53:44 +02:00

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