laradock / laradock

Full PHP development environment for Docker.

Home Page:http://laradock.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I use my remote database instead of mysql container?

jet4419 opened this issue · comments

Description:

I can't connect to my remote database even though the .env file was configured correctly.

Expected Behavior:

When I tried to login with my Laravel app.. I should be able to verify the user login credentials. But It seems the connection from my docker app to my remote database does not work correctly.

Context information:

Here are my screenshots for more information about the problem:

db1
db2