webdevops / php-docker-boilerplate

:stew: PHP Docker Boilerplate for Symfony, Wordpress, Joomla or any other PHP Project (NGINX, Apache HTTPd, PHP-FPM, MySQL, Solr, Elasticsearch, Redis, FTP)
https://webdevops.io/projects/php-docker-boilerplate/
MIT License
562 stars 186 forks source link

Databases Connection #65

Open kenjiroe opened 7 years ago

kenjiroe commented 7 years ago

WordPress is not connection db port:13306 or 3306 by default.

htuscher commented 7 years ago

There's very less details here, but if you want to use this boilerplate with wordpress, you must configure the following database credentials in your WordPress:

define('DB_NAME', 'database');
define('DB_USER', 'dev');
define('DB_PASSWORD', 'dev');
define('DB_HOST', 'mysql:3306');