43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
version: 0.17.1-5
|
|
requires:
|
|
- name: postgres
|
|
- name: smtp
|
|
defaultConfig:
|
|
namespace: keila
|
|
storage: 1Gi
|
|
domain: keila.{{ .cloud.domain }}
|
|
disableRegistration: 'true'
|
|
adminUser: admin@{{ .cloud.domain }}
|
|
db:
|
|
host: '{{ .apps.postgres.host }}'
|
|
port: '{{ .apps.postgres.port }}'
|
|
name: keila
|
|
user: keila
|
|
smtp:
|
|
host: '{{ .apps.smtp.host }}'
|
|
port: '{{ .apps.smtp.port }}'
|
|
from: '{{ .apps.smtp.from }}'
|
|
user: '{{ .apps.smtp.user }}'
|
|
tls: '{{ .apps.smtp.tls }}'
|
|
startTls: '{{ .apps.smtp.startTls }}'
|
|
central:
|
|
headers:
|
|
response:
|
|
Access-Control-Allow-Origin: https://{{ .cloud.domain }}
|
|
Access-Control-Allow-Credentials: 'true'
|
|
Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
|
|
Access-Control-Allow-Headers: Content-Type, Authorization, X-Requested-With,
|
|
Accept, Origin, Cache-Control, X-File-Name
|
|
Access-Control-Max-Age: '86400'
|
|
defaultSecrets:
|
|
- key: secretKeyBase
|
|
default: '{{ random.AlphaNum 64 }}'
|
|
- key: dbPassword
|
|
- key: dbUrl
|
|
default: postgres://{{ .app.db.user }}:{{ .secrets.dbPassword }}@{{ .app.db.host
|
|
}}:{{ .app.db.port }}/{{ .app.db.name }}?sslmode=disable
|
|
- key: adminPassword
|
|
- key: smtpPassword
|
|
requiredSecrets:
|
|
- postgres.password
|