computer-playbook/roles/server_docker-wordpress
2023-04-19 00:03:13 +02:00
..
handlers solved docker-compose naming bugs 2023-04-19 00:03:13 +02:00
meta Renamed server roles 2023-04-18 15:41:14 +02:00
tasks solved docker-compose naming bugs 2023-04-19 00:03:13 +02:00
templates Merged client playbook and server playbook 2023-04-18 14:52:43 +02:00
README.md Renamed server roles 2023-04-18 15:41:14 +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