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

Terraboard unable to DNS look up DB on ECS #61

Closed
ghost opened this issue Jul 20, 2019 · 1 comment
Closed

Terraboard unable to DNS look up DB on ECS #61

ghost opened this issue Jul 20, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 20, 2019

What I'm trying to do

Using ECS Fargate, I'm trying to run Terraboard and the Postgres DB in a single ECS task (two side by side containers). Terraboard fails to start since it cannot find the postgres db.

What is failing

Terraboard attempts to dns lookup 'db' and fails since the postgres db isn't registered in the DNS, its not able to be looked up.

level=fatal msg="dial tcp: lookup db on 172.16.0.2:53: no such host"

Currently with ECS Fargate

Expected behavior

Terraboard should try looking up localhost for the postgres db before fatally ending.

OR

There should be an ability to use hosted postgres (RDS) or a separate container/task.

@ghost ghost closed this as completed Jul 21, 2019
@vibhuyadav
Copy link

I am also getting this error. Can we open the issue again?

This issue was closed.
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

1 participant