mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-15 10:53:09 -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 {
|
||||
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 {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue