Hi Daniel,

Thanks for the suggestion! I’m new at Docker so apologies if some of the 
configs are incorrect. Still learning.

I removed service Postgres since I am using my local db. Still stuck on 
airflow-init. There are no log entries that explain what it is doing or what it 
is waiting for, but obviously airflow-init is waiting for something. I’ve since 
restarted docker service, flushed iptables chains relating to Docker, restarted 
again. Still stuck.

Anthony

On Aug 16, 2021, at 1:11 PM, Daniel Standish 
<[email protected]<mailto:[email protected]>> wrote:

If you are using an already existing postgres, then why are you running 
postgres service in compose?

If that's not the database you are connecting to, then you should remove it 
from your compose file. (conversely if you are trying to use compose postgres, 
then we might have some configuration suggestions to offer)
---
Separately, on mac compose, for the container to access host i think you might 
need to add svc.localhost or something like that... there are SO posts on this 
topic eg 
https://stackoverflow.com/questions/24319662/from-inside-of-a-docker-container-how-do-i-connect-to-the-localhost-of-the-mac

Reply via email to