mirror of
https://github.com/matrix-org/dendrite
synced 2024-06-14 02:18:34 +02:00
d579ddb8e7
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>
18 lines
432 B
Go Template
18 lines
432 B
Go Template
{{ define "chart.dbCreation" }}
|
|
## Manual database creation
|
|
|
|
(You can skip this, if you're deploying the PostgreSQL dependency)
|
|
|
|
You'll need to create the following database before starting Dendrite (see [installation](https://matrix-org.github.io/dendrite/installation/database#single-database-creation)):
|
|
|
|
```postgres
|
|
create database dendrite
|
|
```
|
|
|
|
or
|
|
|
|
```bash
|
|
sudo -u postgres createdb -O dendrite -E UTF-8 dendrite
|
|
```
|
|
|
|
{{ end }} |