Skip to content

Commit

Permalink
added explanation for deploying postgresql
Browse files Browse the repository at this point in the history
  • Loading branch information
imilchev committed Aug 29, 2021
1 parent e476131 commit d79b07d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
19 changes: 19 additions & 0 deletions postgresql/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# PostgreSQL deployment manual
We use PostgreSQL for Keycloak*, Ghost* and our own modules. We are deploying it using the [bitnami/postgresql](https://bitnami.com/stack/postgresql/helm) Helm chart.

_* Still to be migrated to use this deployment of PostgreSQL._

Prerequisites:
- Have a storage class `rook-ceph-block` configured.

The following settings for the Helm chart are used:
```yaml
---
global:
storageClass: rook-ceph-block
image:
tag: 13.4.0-debian-10-r16
persistence:
enabled: true
size: 15Gi
```
2 changes: 2 additions & 0 deletions postgresql/db_create.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CREATE DATABASE podkrepibg;
CREATE EXTENSION IF NOT EXISTS citext;

0 comments on commit d79b07d

Please sign in to comment.