mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-16 11:23:11 -06:00
Correction of database connector string
Signed-off-by: Maximilian Seifert <max.seifert@drglitch.net>
This commit is contained in:
parent
db50a1d69e
commit
8b8b55d0a6
|
|
@ -28,7 +28,7 @@ func init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if insideCi {
|
if insideCi {
|
||||||
dataSource = "postgres://postgres@postgres/dendrite_device?sslmode=disable"
|
dataSource = "postgres://postgres@localhost/dendrite_device?sslmode=disable"
|
||||||
} else if insideDocker {
|
} else if insideDocker {
|
||||||
dataSource = "postgres://dendrite:itsasecret@postgres/dendrite_device?sslmode=disable"
|
dataSource = "postgres://dendrite:itsasecret@postgres/dendrite_device?sslmode=disable"
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ func init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if insideCi {
|
if insideCi {
|
||||||
dataSource = "postgres://postgres@postgres/dendrite_syncapi?sslmode=disable"
|
dataSource = "postgres://postgres@localhost/dendrite_syncapi?sslmode=disable"
|
||||||
} else if insideDocker {
|
} else if insideDocker {
|
||||||
dataSource = "postgres://dendrite:itsasecret@postgres/dendrite_syncapi?sslmode=disable"
|
dataSource = "postgres://dendrite:itsasecret@postgres/dendrite_syncapi?sslmode=disable"
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue