panic: dial tcp 127.0.0.1:5432: connection refusedseems like postgres is not being linked :/
It seems the application is trying to connect to the database on the same machine, In azk this should be done through environment variables. Think about the machine that is running your app and the database as separated machines, and the connection would occur by a network between them, the variables will guide you in this path.
Your Azkfile.js no longer available in https://gist.github.com/durango/6f8800709af8d8a96812, can give a new look to guide you better about what variables?
envsto load the environment variables.
@durango the error is a bit more complicated than I was expecting. Did some testing here with the image.
You are right, the error is not in the image but on provision steps implementation. In my tests they get fail sometimes (mainly to get code from bitbucket) until complete all steps.
A workaround for this (at least until we dont have an "advanced provision") is running all provision commands manually:
$ azk shell gambit # executar os comandos do provision
So let us know if you are getting get a minimally viable environment.
We know this is not the best way, after all the
provision is there to facilitate this, but it's our chance to debug it better to an environment where we have not done extensive testing in the case of the golang.