uberswe/golang-base-project

Database connection fails when starting with docker-compose

uberswe opened this issue · 0 comments

When running docker-compose up it will start the mysql container and the golang-base-project container but no connection can be established to mysql because it needs to do some setup before a connection can be made. A database connection retry on boot for a limited time would solve this.