Merge pull request 'docker container name' (#2) from fix/docker-psql-name into master
Reviewed-on: shah/POC-golang-postgres-docker#2
This commit is contained in:
commit
d176131378
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -59,4 +59,5 @@ Temporary Items
|
||||||
# .nfs files are created when an open file is removed but is still being accessed
|
# .nfs files are created when an open file is removed but is still being accessed
|
||||||
.nfs*
|
.nfs*
|
||||||
go.sum
|
go.sum
|
||||||
|
.idea
|
||||||
|
|
||||||
|
|
2
main.go
2
main.go
|
@ -56,7 +56,7 @@ func initDb() {
|
||||||
|
|
||||||
func dbConfig() map[string]string {
|
func dbConfig() map[string]string {
|
||||||
conf := make(map[string]string)
|
conf := make(map[string]string)
|
||||||
conf[dbhost] = "genity-code-review_db_1"
|
conf[dbhost] = "poc-golang-postgres-docker_db_1"
|
||||||
conf[dbport] = "5432"
|
conf[dbport] = "5432"
|
||||||
conf[dbuser] = "root_user"
|
conf[dbuser] = "root_user"
|
||||||
conf[dbpass] = "shahzad12"
|
conf[dbpass] = "shahzad12"
|
||||||
|
|
Loading…
Reference in a new issue