funkwhale: Fix missing postgresql extensions

Fixes #16
This commit is contained in:
Alexander "Ace" Olofsson 2021-09-29 23:35:10 +02:00
parent 6e1e80e1df
commit 619c4c5a14
No known key found for this signature in database
GPG key ID: D439C9470CB04C73
2 changed files with 13 additions and 1 deletions

View file

@ -4,7 +4,7 @@ appVersion: "1.1.2"
description: A social platform to enjoy and share music
icon: https://funkwhale.audio/favicon.png
name: funkwhale
version: 0.4.1
version: 0.4.2
dependencies:
- name: redis

View file

@ -57,6 +57,18 @@ postgresql:
# storageClass: ""
# size: 8Gi
pgHbaConfiguration: |
local all all trust
host all all localhost trust
host all all 0.0.0.0/0 md5
host all all ::/0 md5
initdbScripts:
enable_extensions.sh: |
#!/bin/sh
echo 'create extension unaccent;' | psql -U postgres $POSTGRESQL_DATABASE
echo 'create extension citext;' | psql -U postgres $POSTGRESQL_DATABASE
redis:
## If you already have a Redis service you'd like to use, set
## this to false and adjust the host to use your existing service.