-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathREADME.md.gotmpl
50 lines (32 loc) · 1.55 KB
/
README.md.gotmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{{ template "chart.header" . }}
[AidboxDB](https://docs.aidbox.app/storage-1/aidboxdb-image) is a specialized version of the open-source PostgreSQL database, tailored for use as the data storage backend for Aidbox. It serves various purposes, including initializing and operating as a master database for Aidbox, functioning as a streaming replica, optimizing FHIR search queries, and supporting backup and maintenance functionalities.
{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }}
## Add the helm repository
```console
helm repo add aidbox https://aidbox.github.io/helm-charts
```
## Installation with the PostgreSQL default credentials
```console
helm upgrade --install aidboxdb aidbox/aidboxdb \
--namespace postgres --create-namespace
```
It will install the AidboxDB with default credentials in the `postgres` namespace, creating that namespace if it doesn't already exist.
## Installation using custom PostgreSQL config and/or environment variables
Create values YAML like
```yaml
config: |-
max_wal_size = '4GB'
shared_buffers = '2GB'
env:
POSTGRES_USER: superuser
POSTGRES_PASSWORD: strongpassword
```
and apply it
```console
helm upgrade --install aidboxdb aidbox/aidboxdb \
--namespace postgres --create-namespace \
--values /path/to/values.yaml
```
## Database backup
AidboxDB image contains [WAL-G](https://github.com/wal-g/wal-g). For more information see [documentation](https://docs.aidbox.app/storage-1/backup-and-restore/archiving)
{{ template "chart.valuesSection" . }}