30 lines
1.5 KiB
YAML
30 lines
1.5 KiB
YAML
# GNMON-001 section 6: Blazor dashboard rootless quadlet.
|
|
# M1 workstation default: user scope (dashboard served from the dev
|
|
# machine). M5 server: system scope under the gn-dashboard account
|
|
# (984), quadlet under /etc/containers/systemd/users/984, managed via
|
|
# runuser + systemctl --user. The image is transported (podman
|
|
# save/load), so the inventory pins the tag ref either way.
|
|
gnmon_dashboard_scope: user
|
|
gnmon_dashboard_systemd_scope: user
|
|
gnmon_dashboard_run_user: gn-dashboard
|
|
gnmon_dashboard_run_uid: 984
|
|
gnmon_dashboard_run_home: /var/lib/ghostnet-dashboard
|
|
gnmon_dashboard_quadlet_dir: >-
|
|
{{ '/etc/containers/systemd/users/' ~ gnmon_dashboard_run_uid
|
|
if gnmon_dashboard_scope == 'system'
|
|
else lookup('ansible.builtin.env', 'HOME') ~ '/.config/containers/systemd' }}
|
|
|
|
# Transported image (built from images/dashboard/Containerfile); v0.2.1
|
|
# adds the configuration-driven OIDC layer with configurable Auth:AllowedRoles
|
|
# (M6, GNMON-000). The image is transported (podman save/load), so the
|
|
# inventory pins the tag ref either way.
|
|
gnmon_dashboard_image_ref: docker.io/ghostnet/dashboard:v0.3.6
|
|
|
|
# Host loopback only (GNMON-001 section 7); NPM ingress follows in M6.
|
|
gnmon_dashboard_http_listen: "127.0.0.1:8080"
|
|
|
|
# M6 OIDC: host-side environment file for the client secret; the role
|
|
# ships it empty and managed. When the Keycloak client exists the file
|
|
# carries Auth__Enabled / Auth__ClientSecret (owner gn-dashboard).
|
|
gnmon_dashboard_config_dir: /etc/gnmon
|