You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I'm trying to set up a simple laravel project with laradock. I have nginx, postgres, pgadmin, redis, pdadmin and workspace (my project) as container and they have been all Up normally. But it seems like I cannot connect to postgre when I run php artisan migrate:status inside my workspace. The error was
PDOException with message 'SQLSTATE[08006] [7] FATAL: no pg_hba.conf entry for host "172.20.0.5", user "default", database "default", SSL off'
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Info:
Issue:
So I'm trying to set up a simple laravel project with laradock. I have
nginx
,postgres
,pgadmin
,redis
,pdadmin
andworkspace
(my project) as container and they have been allUp
normally. But it seems like I cannot connect to postgre when I runphp artisan migrate:status
inside myworkspace
. The error wasRelevant Code:
My postgre setup was
In laravel
.env
In laradock
.env
In
docker-compose.yml
The text was updated successfully, but these errors were encountered: