apps/ninja: configure mails and db pvc
This commit is contained in:
parent
2d34b4e14b
commit
8dc8edc4af
|
@ -0,0 +1,15 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: invoiceninja-mariadb
|
||||||
|
namespace: stackspout
|
||||||
|
labels:
|
||||||
|
stackspin.net/backupSet: "invoiceninja"
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
volumeMode: Filesystem
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 2Gi
|
||||||
|
storageClassName: local-path
|
|
@ -14,27 +14,29 @@ data:
|
||||||
persistence:
|
persistence:
|
||||||
public:
|
public:
|
||||||
existingClaim: invoiceninja-data
|
existingClaim: invoiceninja-data
|
||||||
debug: true
|
|
||||||
userEmail: "${admin_email}"
|
|
||||||
userPassword: "${password}"
|
|
||||||
mariadb:
|
mariadb:
|
||||||
# https://github.com/bitnami/charts/blob/master/bitnami/mariadb/values.yaml
|
# https://github.com/bitnami/charts/blob/master/bitnami/mariadb/values.yaml
|
||||||
auth:
|
auth:
|
||||||
password: "${mariadb_password}"
|
password: "${mariadb_password}"
|
||||||
rootPassword: "${mariadb_root_password}"
|
rootPassword: "${mariadb_root_password}"
|
||||||
redis:
|
persistence:
|
||||||
auth:
|
existingClaim: invoiceninja-mariadb
|
||||||
password: "${redis_password}"
|
# Redis is only cache, so no pvc needed: https://invoiceninja.github.io/docs/env-variables/
|
||||||
|
|
||||||
# TODO Adjust invoiceninja Mailing config
|
userEmail: "${admin_email}"
|
||||||
# mailer:
|
userPassword: "${password}"
|
||||||
# enabled: "${outgoing_mail_enabled}"
|
mailer: "smtp" # FIXME use "${outgoing_mail_enabled}"
|
||||||
# host: "${outgoing_mail_smtp_host}"
|
# https://github.com/invoiceninja/invoiceninja/blob/v5-stable/config/mail.php#L36
|
||||||
# port: "${outgoing_mail_smtp_port}"
|
extraEnvVars:
|
||||||
# username: "${outgoing_mail_smtp_user}"
|
- MAIL_HOST: "${outgoing_mail_smtp_host}"
|
||||||
# password: "${outgoing_mail_smtp_password}"
|
- MAIL_PORT: "${outgoing_mail_smtp_port}"
|
||||||
# fromemail: "${outgoing_mail_from_address}"
|
- MAIL_USERNAME: "${outgoing_mail_smtp_user}"
|
||||||
# TODO Adjust invoiceninja OpenID Connect Single Sign-On Configuration
|
- MAIL_PASSWORD: "${outgoing_mail_smtp_password}"
|
||||||
|
- MAIL_EHLO_DOMAIN: "${outgoing_mail_domain}"
|
||||||
|
- MAIL_FROM_ADDRESS: "${outgoing_mail_from_address}"
|
||||||
|
- MAIL_FROM_NAME: "FTT Forensic Discovery GmbH"
|
||||||
|
|
||||||
|
# Missing: invoiceninja OpenID Connect Single Sign-On Configuration
|
||||||
# - name: Stackspin
|
# - name: Stackspin
|
||||||
# key: "${client_id}"
|
# key: "${client_id}"
|
||||||
# secret: "${client_secret}"
|
# secret: "${client_secret}"
|
||||||
|
|
Loading…
Reference in New Issue