Netgrimoire/Netgrimoire/Audits/wiki-2026-04-03.md
2026-04-12 09:53:51 -05:00

2.2 KiB

title description published date tags editor dateCreated
Audit - wiki.yaml Gremlin audit report 2026-04-03 true 2026-04-03T03:28:56.635Z gremlin,audit markdown 2026-04-03T03:28:56.635Z

Audit Report — wiki.yaml

Date: 2026-04-03
File: swarm/wiki.yaml
Type: Docker Swarm
Verdict: PASS


SWARM AUDIT CHECKLIST:

  1. Homepage labels:

    • PASS: wikijs, drawio
    • FAIL: No homepage labels defined for wikijs-db.
      • Fix: Add the following labels to wikijs-db:
        labels:
          homepage.group: "Database"
          homepage.name: "PostgreSQL"
          homepage.icon: "postgres.png"
          homepage.href: "https://www.postgresql.org"
          homepage.description: "Relational Database"
          diun.enable: "true"
        
  2. Uptime Kuma labels:

    • FAIL: wikijs, drawio missing Kuma labels.
      • Fix: Add the following labels to both wikijs and drawio:
        labels:
          kuma.<n>.http.name: "Wiki.js"
          kuma.<n>.http.url: "https://wiki.netgrimoire.com"
          # Replace <n> with a sequential number if multiple instances are needed.
        
  3. Caddy labels on exposed services:

    • FAIL: drawio missing Caddy labels for reverse proxy.
      • Fix: Add the following labels to drawio:
        labels:
          caddy: draw.netgrimoire.com
          caddy.reverse_proxy: "{{upstreams 8080}}"
        
    • PASS: Both wikijs-db, wikijs, and drawio have caddy=<domain> labels.
  4. Placement constraints:

    • FAIL: No placement constraints for drawio.
      • Fix: Add the following constraints to drawio:
        deploy:
          mode: replicated
          replicas: 1
          placement:
            constraints:
              - node.hostname == dockerpi1
              - node.labels.cpu == arm
        
  5. Volumes use /DockerVol/ path convention:

    • PASS: All services follow this convention.
  6. Network references external netgrimoire overlay:

    • PASS: Both wikijs-db, wikijs, and drawio reference the external network netgrimoire.

VERDICT:

FAIL