computer-playbook/roles/docker-wordpress
2024-04-04 15:54:21 +02: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 Restructured code and matrix rol 2024-01-19 15:12:18 +01:00
templates Removed obsolete version attribute 2024-04-04 15:54:21 +02: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