servian / TechChallengeApp

Application for the Servian Tech Test
http://www.servian.com/devops
MIT License
24 stars 196 forks source link

Docker container to postgres Azure DB(remote db) authentication error, issue db.go #49

Closed mothomas closed 3 years ago

mothomas commented 4 years ago

Subject of the issue

docker container unable to authenticate to azure postgresql DB with provided variables. Describe your issue here. while docker container trying to connect to postgres db, db.go is expecting 'username@host' if we supply variable in in above mentioned format line 73 in db.go OWNER is expecting 'username' format, this will cause db creation will fail. both values are supplied using same variable may causing issue.

Your environment

Azure posgresql rdb

Steps to reproduce

reproducible clone repo, build and run container in azure env with postgresql db integration will fail Tell us how to reproduce this issue

Expected behaviour

containered app should be able to provision azure postgresql database Tell us what should happen

Actual behaviour

containered app not able to provision azure postgresql database Tell us what happens instead

tristanmorgan commented 3 years ago

I haven't been able to reproduce this one myself or heard any more reports of it. Please feel free to reopen if its still occurring.