Skip to content

Wiki.js

Wiki.js is an open source Wiki software that allows you to enjoy writing documentation using a beautiful and intuitive interface!

Prerequisites

  • Kubernetes cluster accessible with kubectl CLI
  • Cert Manager configured in K8s cluster, with letsencrypt-prod ClusterIssuer created.
  • Install Helm

Optional: Create custom PostgreSQL DB

Note: This is only required for arm based deployment as the default Wiki.js PostgreSQL image is only available for amd64 architectures.

helm repo add romanow https://romanow.github.io/helm-charts/
helm repo update
helm install wiki-pg romanow/postgres -n wiki --create-namespace

Deploy Wiki.js using Helm

Edit your wiki.values.yaml file to configure your deployment:

vim wiki.values.yaml
# wiki.values.yaml
ingress:
  enabled: true
  annotations:
    kubernetes.io/ingress.class: nginx
    kubernetes.io/tls-acme: "true"
    cert-manager.io/cluster-issuer: "letsencrypt-prod"
  hosts:
    - host: wiki.seillama.dev
      paths:
        - path: "/"
          pathType: Prefix
  tls:
    - secretName: wiki-tls
      hosts:
        - wiki.seillama.dev

postgresql:
  enabled: false
  postgresqlHost: wiki-pg
  postgresqlUser: postgres
  postgresqlDatabase: postgres
  existingSecret: wiki
  existingSecretKey: postgresql-password

Deploy Wiki.js

helm repo add requarks https://charts.js.wiki
helm repo update
helm install wiki requarks/wiki -n wiki -f wiki.values.yaml