mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-27 12:03:38 +08:00
forgejo: Add configuration for crunchydata postgresql db
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
apiVersion: postgres-operator.crunchydata.com/v1beta1
|
||||
kind: PostgresCluster
|
||||
metadata:
|
||||
annotations:
|
||||
postgres-operator.crunchydata.com/autoCreateUserSchema: "true"
|
||||
name: forgejo-ha
|
||||
namespace: forgejo
|
||||
spec:
|
||||
|
||||
@@ -514,7 +514,15 @@ gitea:
|
||||
OFFLINE_MODE: false
|
||||
|
||||
## @param gitea.config.database Database configuration (only necessary with an [externally managed DB](https://code.forgejo.org/forgejo-helm/forgejo-helm#external-database)).
|
||||
database: {}
|
||||
database:
|
||||
HOST: "{{ forgejo_database_host }}"
|
||||
NAME: "{{ forgejo_database_name }}"
|
||||
USER: "{{ forgejo_database_user }}"
|
||||
PASSWD: "{{ forgejo_database_password }}"
|
||||
SCHEMA: "{{ forgejo_database_schema }}"
|
||||
SSL_MODE: "require"
|
||||
DB_TYPE: "postgres"
|
||||
|
||||
|
||||
## @param gitea.config.indexer Settings for what content is indexed and how
|
||||
indexer: {}
|
||||
|
||||
Reference in New Issue
Block a user