Improve Documentation
yitzhakbg opened this issue · 3 comments
This is not so much a bug as it is a modest suggestion.
The documentation mentioned Configure Domains almost in passing. Should be more strongly emphasized. The .env file for example lists mariadb as here in it's definitions:
DB_NAME=wordpress
DB_USER=wordpress
DB_PASSWORD=wordpress
DB_ROOT_PASSWORD=password
DB_HOST=mariadb
without making clear that
mariadb
here is/should be a hostname. It is missing from the example:
Hi, mariadb
is the name of the service in docker-compose.yml
, docker uses services' names as hosts in its private network. In the table, we list only services with http ports so you can use them to access containers from the host machine. MariaDB has no http ports and you don't need any domain to connect WP internally with mariadb via $DB_PORT
that should be used in wp-config.php
Thanks. Could you make the documentation a tad clearer on that?
Not sure which part there's to improve, docker4wordpress assumes you're familiar with how docker and docker-compose work