mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-07-29 12:42:46 +00:00
Add simplified helm chart (#2905)
As discussed yesterday, a simplified version of [my helm](https://github.com/S7evinK/dendrite-helm) which deploys a monolith with internal NATS and an optionally enabled PostgreSQL server. If the PostgreSQL dependency is not enabled, a user specified connection string is constructed. Co-authored-by: kegsay <kegan@matrix.org>
This commit is contained in:
parent
2e1fe58937
commit
d579ddb8e7
25 changed files with 1238 additions and 2 deletions
|
@ -228,7 +228,7 @@ func loadConfig(
|
|||
|
||||
privateKeyPath := absPath(basePath, c.Global.PrivateKeyPath)
|
||||
if c.Global.KeyID, c.Global.PrivateKey, err = LoadMatrixKey(privateKeyPath, readFile); err != nil {
|
||||
return nil, err
|
||||
return nil, fmt.Errorf("failed to load private_key: %w", err)
|
||||
}
|
||||
|
||||
for _, v := range c.Global.VirtualHosts {
|
||||
|
@ -242,7 +242,7 @@ func loadConfig(
|
|||
}
|
||||
privateKeyPath := absPath(basePath, v.PrivateKeyPath)
|
||||
if v.KeyID, v.PrivateKey, err = LoadMatrixKey(privateKeyPath, readFile); err != nil {
|
||||
return nil, err
|
||||
return nil, fmt.Errorf("failed to load private_key for virtualhost %s: %w", v.ServerName, err)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue