Skip to content

Apache Answer

Deploy Apache Answer on Kubernetes using the official apache/answer Docker image. Supports SQLite (default), PostgreSQL, MySQL, automatic setup, and scheduled backups.

Key Features

  • SQLite by Default — zero database configuration needed
  • PostgreSQL Subchart — bundled via HelmForge dependency
  • MySQL Subchart — bundled via HelmForge dependency
  • External Database — connect to existing PostgreSQL or MySQL
  • Auto-Install — unattended setup via environment variables
  • Scheduled Backups — database-aware CronJob with S3 upload
  • Ingress Support — TLS with cert-manager

Installation

HTTPS repository:

helm repo add helmforge https://repo.helmforge.dev
helm repo update
helm install answer helmforge/answer

OCI registry:

helm install answer oci://ghcr.io/helmforgedev/helm/answer

Basic Example (SQLite)

# values.yaml
answer:
  siteName: 'My Q&A'

admin:
  name: admin
  password: 'change-me'

persistence:
  enabled: true
  size: 5Gi

PostgreSQL Example

postgresql:
  enabled: true
  auth:
    database: answer
    username: answer
    password: 'strong-password'

ingress:
  enabled: true
  ingressClassName: traefik
  hosts:
    - host: qa.example.com
      paths:
        - path: /
          pathType: Prefix
  tls:
    - secretName: answer-tls
      hosts:
        - qa.example.com

External Database Example

database:
  external:
    vendor: postgres
    host: db.example.com
    name: answer
    username: answer
    existingSecret: answer-db-credentials

Key Values

KeyDefaultDescription
answer.siteNameApache AnswerSite name
answer.siteUrl""Full external URL (auto-detected from ingress)
answer.languageen-USDefault UI language
answer.autoInstalltrueEnable unattended setup
admin.nameadminAdmin username
admin.password""Admin password (auto-generated)
database.modeautoDatabase mode (auto, sqlite, external, postgresql, mysql)
postgresql.enabledfalseDeploy PostgreSQL subchart
mysql.enabledfalseDeploy MySQL subchart
persistence.enabledtrueEnable persistent storage
persistence.size5GiPVC size
ingress.enabledfalseEnable ingress
backup.enabledfalseEnable S3 backups

More Information

See the source code and full values reference on GitHub.