2 KiB
2 KiB
| title | description | published | date | tags | editor | dateCreated |
|---|---|---|---|---|---|---|
| Audit - portainer-agent-stack.yml | Gremlin audit report 2026-04-03 | true | 2026-04-03T03:10:38.984Z | gremlin,audit | markdown | 2026-04-03T03:10:38.984Z |
Audit Report — portainer-agent-stack.yml
Date: 2026-04-03
File: swarm/portainer-agent-stack.yml
Type: Docker Swarm
Verdict: FAIL
Audit Results:
-
Homepage labels:
homepage.group: Presenthomepage.name: Presenthomepage.icon: Presenthomepage.href: Presenthomepage.description: Present
-
Uptime Kuma labels:
kuma.prt.http.name: Missing (Expected: "Portainer")kuma.prt.http.url: Missing (Expected: "http://portainer:9000")
-
Caddy labels on exposed services:
caddy=docker.netgrimoire.com: Presentcaddy.reverse_proxy="http://portainer:9000": Present
-
Placement constraints:
node.hostname == znas: Present (Note: This constraint might not be ideal for a global service, but it's specified as per the file.)
-
Volumes use
/DockerVol/<service>path convention:- Volume
/DockerVol/portainer: Present - Volume
/var/run/docker.sock: Absent (Not following the/DockerVol/<service>convention) - Volume
/var/lib/docker/volumes: Absent (Not following the/DockerVol/<service>convention)
- Volume
-
Network references external
netgrimoireoverlay:networks: netgrimoire: Present
Issues and Fixes:
-
Uptime Kuma labels: Add the missing labels with the correct values.
- kuma.prt.http.name="Portainer" - kuma.prt.http.url=http://portainer:9000 -
Volume use
/DockerVol/<service>path convention: Adjust the volumes to follow the convention.volumes: - /DockerVol/agent/var/run/docker.sock:/var/run/docker.sock - /DockerVol/agent/var/lib/docker/volumes:/var/lib/docker/volumes
Final Verdict:
VERDICT: FAIL
Reasons for failure include missing Uptime Kuma labels and non-conformity with the /DockerVol/<service> volume path convention.