Correction of database connector string

Signed-off-by: Maximilian Seifert <max.seifert@drglitch.net>
This commit is contained in:
Maximilian Seifert 2019-03-27 22:00:44 +01:00
parent 9abeca94bc
commit 02ab2fbbb6
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ func init() {
}
if insideCi {
dataSource = "postgres://postgres@postgres/dendrite_device?sslmode=disable"
dataSource = "postgres://postgres@localhost/dendrite_device?sslmode=disable"
} else if insideDocker {
dataSource = "postgres://dendrite:itsasecret@postgres/dendrite_device?sslmode=disable"
} else {

View file

@ -29,7 +29,7 @@ func init() {
}
if insideCi {
dataSource = "postgres://postgres@postgres/dendrite_syncapi?sslmode=disable"
dataSource = "postgres://postgres@localhost/dendrite_syncapi?sslmode=disable"
} else if insideDocker {
dataSource = "postgres://dendrite:itsasecret@postgres/dendrite_syncapi?sslmode=disable"
} else {