mirror of
https://github.com/sol1/rustguac.git
synced 2026-10-25 21:19:45 +00:00
5a566a810b
The screenshots/ folder had no record of how it was made, so every
refresh meant setting up an instance by hand and inventing data again.
contrib/screenshots/ starts rustguac (any image, sol1/rustguac:1.12.1 by
default) with OpenBao in dev mode, a mock OIDC provider and throwaway SSH
and web targets, all on a private compose network with no host ports. A
Playwright container signs in as an admin pre-provisioned with
`rustguac add-user`, creates users, folders, entries, credential
variables and API tokens through the API, runs real SSH and Web sessions
for the recordings and history, and captures the screenshots/ set in the
aurora and light themes. Nothing is written to the database directly,
and all names, hosts and addresses are reserved example data.
The rustguac container runs with seccomp=unconfined because Chromium's
sandbox needs it for Web sessions (#307); the README says so.
Refs #305
(cherry picked from commit 586cfd3e32)