computer-playbook/roles/docker-wordpress
2022-11-10 17:25:37 +01:00
..
handlers changed from embedded ansible docker to docker-compose files 2022-02-02 12:12:08 +01:00
meta Renamed native-nginx-docker-proxy to native-docker-reverse-proxy 2021-01-04 09:49:02 +01:00
tasks changed from embedded ansible docker to docker-compose files 2022-02-02 12:12:08 +01:00
templates Removed random root password 2022-11-10 16:23:36 +01:00
README.md Updated docker-wordpress readme 2022-11-10 17:25:37 +01:00

role 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

cat > wp-config.php << EOF
<?php
#content
EOF

multiside