image:
  repository: tccr.io/truecharts/docs
  tag: v1.10@sha256:c5aa5ae1d6209a9fb25a14cdbe336e9f069a215cae6e7c81872a54b1090a9ecb
  pullPolicy: IfNotPresent
service:
  main:
    ports:
      main:
        port: 10100
        targetPort: 8080
persistence:
  data:
    enabled: true
    mountPath: "/data"
cnpg:
  main:
    enabled: true

    user: teedyuser
    database: teedydb
portal:
  open:
    enabled: true

workload:
  main:
    podSpec:
      containers:
        main:
          env:
            DOCS_DEFAULT_LANGUAGE: "eng"
            DOCS_BASE_URL: ""
            DOCS_SMTP_HOSTNAME: ""
            DOCS_SMTP_PORT: 0
            DATABASE_USER: "{{ .Values.cnpg.main.user }}"
            DATABASE_PASSWORD:
              secretKeyRef:
                name: cnpg-main-user
                key: password
            DATABASE_URL:
              secretKeyRef:
                name: cnpg-main-urls
                key: jdbc
            DOCS_ADMIN_EMAIL_INIT: ""
            DOCS_ADMIN_PASSWORD_INIT: ""
            DOCS_SMTP_USERNAME: ""
            DOCS_SMTP_PASSWORD: ""
