apiVersion: apps/v1 kind: Deployment metadata: name: wikijs spec: replicas: 1 selector: matchLabels: app: wikijs template: metadata: labels: app: wikijs spec: containers: - name: wikijs image: ghcr.io/requarks/wiki:2.5.314 ports: - name: http containerPort: 3000 envFrom: - secretRef: name: wikijs-secrets env: - name: DB_TYPE value: postgres - name: DB_HOST value: postgres.postgres.svc - name: DB_PORT value: "5432" - name: DB_USER value: wikijs - name: DB_NAME value: wikijs readinessProbe: httpGet: path: /healthz port: http initialDelaySeconds: 20 resources: requests: cpu: 50m memory: 256Mi limits: memory: 768Mi