20 lines
457 B
YAML
20 lines
457 B
YAML
version: 1.28.2-2
|
|
requires:
|
|
- name: postgres
|
|
defaultConfig:
|
|
namespace: gancio
|
|
domain: gancio.{{ .cloud.domain }}
|
|
storage: 2Gi
|
|
db:
|
|
host: '{{ .apps.postgres.host }}'
|
|
port: '5432'
|
|
name: gancio
|
|
user: gancio
|
|
defaultSecrets:
|
|
- key: dbPassword
|
|
- key: dbUrl
|
|
default: postgresql://{{ .app.db.user }}:{{ .secrets.dbPassword }}@{{ .app.db.host
|
|
}}:{{ .app.db.port }}/{{ .app.db.name }}?sslmode=disable
|
|
requiredSecrets:
|
|
- postgres.password
|