dataplane-app/dataplane

[Bug][Install]docker-compose deployment failed

ChenpiDog opened this issue · 2 comments

image
failed to connect to host=postgres user=postgres database=dataplane

When I deployed the second time, it was successful!
image

I think this might be normal behaviour. The main application and workers are written in Golang and compiled to machine code, they tend to spin up much faster than first initialisation of Postgresql / Timescaledb - which does take time on Postgresql's first run and only starts accepting connections once ready. That is why Dataplane has been designed to be resilient to database connections by retrying the database connection until the database is ready. I couldn't replicate the issue on my side. I am going to close the ticket but I will keep an eye out for anyone else who may have a similar experience as you.