add system and traefik widgets to pulsenode; enable Traefik API

- traefik/compose.yml: flip --api.dashboard=true so Traefik's internal
  API is reachable. No entrypoint named "traefik" is defined, so
  Traefik auto-creates its default one on :8080 - not published to the
  host (only 80/443 are), so it's reachable only from other containers
  on falcon_network, i.e. exactly (and only) pulsenode.
- pulsenode/config.yml: adds a system widget and swaps the plain
  Traefik docker card for the real traefik widget (router/entrypoint/
  middleware view via that now-enabled API), both at the top of
  Services.

Verified locally before deploying: a plain container (no pid: host,
no /proc,/sys mounts) already reports host-accurate CPU count, memory
total, and root disk usage via systeminformation, since Docker doesn't
namespace /proc/stat, /proc/meminfo, or overlayfs df by default. No
privilege escalation needed for the system widget after all - tested
side by side against the real host's nproc/free/df output. Also
confirmed the merged config.yml validates against the app's own zod
schema, not just as YAML.
This commit is contained in:
2026-08-17 18:46:51 +02:00
parent 858d20e16e
commit f207009efd
2 changed files with 7 additions and 8 deletions
+6 -7
View File
@@ -7,14 +7,13 @@ theme:
groups: groups:
- name: Services - name: Services
widgets: widgets:
- type: docker - type: system
interval: 5s
- type: traefik
name: Traefik name: Traefik
containerName: traefik apiUrl: http://traefik:8080/api
icon: traefik interval: 15s
interval: 10s
# No href: the dashboard is disabled (--api.dashboard=false).
# Swap for a `traefik` widget (router/entrypoint/middleware view)
# if the API gets enabled - see Traefik's --api.dashboard docs.
- type: docker - type: docker
name: Coolify name: Coolify
+1 -1
View File
@@ -3,7 +3,7 @@ services:
image: traefik:v3 image: traefik:v3
container_name: traefik container_name: traefik
command: command:
- "--api.dashboard=false" - "--api.dashboard=true"
- "--ping=true" - "--ping=true"
- "--log.level=INFO" - "--log.level=INFO"
- "--accesslog=true" - "--accesslog=true"