nezhar/wordpress-docker-compose

Specify a port on .env to run db on (when we are running more than one db on a server)

cauafroes opened this issue · 2 comments

this worked wonders for me, but i change db ports often, so i locally changed my .env to have DB_port entry:
DB_PORT=5460
and used this var in the compose.yml mysql port:
${IP}:${DB_PORT}:3306

would be interesting to have that on the main branch or is my cenario too specific?

will read it, thanks