justinbchau / custom-elt-project

108 stars 65 forks source link

dbt exits code(1) when docker compose up #6

Open CodingDochi opened 2 months ago

CodingDochi commented 2 months ago

스크린샷 2024-09-20 15-54-25

I am a Ubuntu 22.04 user, so I cannot use Docker Desktop. When setting the host as host.docker.internal in the dbt profile.yml file, an error occurs saying that the host cannot be found. Following ChatGPT's recommendation, I set the host to the name written in the Docker Compose file. However, when running docker compose up, dbt generates the following error and exits every time:

Even after modifying postgresql.conf or pg_hba.conf, the issue persists. How can I resolve this error?