Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port forwarding issues #20

Open
josephmachado opened this issue Jan 31, 2024 · 2 comments
Open

Port forwarding issues #20

josephmachado opened this issue Jan 31, 2024 · 2 comments

Comments

@josephmachado
Copy link
Owner

user report

Hi Joseph,

Great post and content! I believe the port forwarding isn't working. I used the non-forwarded ports to connect to airflow and metabase and they worked. as well as the non-forwarded postgres port to connect the db to metabase.
@cowboychicken
Copy link

I found a typo that is related....

In the docker file, under the Airflow Environment Variables:

WARREHOUSE_PORT: ${POSTGRES_PORT}

You have an extra 'R'
So the get_db_creds function defaults to 5432...

However this still doesn't work the way I expect... everything (my dags, code, metabase) still wants to use '5432'.... I assumed when we use '5439:5432' in the 'docker-compose.yml' that everything outside of the container would use the first port number (5439) but maybe I misunderstood that.

@mustafaddogann
Copy link

have you found a way to fix this forwarding issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants