computer-playbook/roles/docker-wordpress
2024-01-08 15:14:55 +01:00
..
files Implemented new upload limit 2023-09-11 18:17:10 +02:00
handlers Refactored docker rroles dto use new role docker-compose 2023-12-30 16:49:37 +01:00
tasks Refactored for simplified use of cleanup parameter 2024-01-08 15:14:55 +01:00
templates Renamed databasename 2024-01-06 14:32:49 +01:00
vars Implemented vars, tasks and templates for central database setup until mastodon role 2024-01-02 21:13:34 +01:00
README.md changed docker exec to docker-compose exec 2023-11-25 14:10:29 +01:00

role docker-wordpress

database

access database

To access the database execute

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

upgrade database

To upgrade the database execute

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

change database root password

bash in application

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

update wp-config.php

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

multiside