Skip to content

Valet: new service - #452

Draft
jackspiering wants to merge 1 commit into
mainfrom
valet-new-service
Draft

jackspiering wants to merge 1 commit into
mainfrom
valet-new-service

Conversation

@jackspiering

Copy link
Copy Markdown
Collaborator

Description

Adds Valet, a self-hosted homepage for your homelab with live data from your services and an optional AI assistant, under "Dashboards and visualization".

Why a sidecar: the image (ghcr.io/askvalet/valet, Node on Alpine) contains no tailscale or tailscaled, and Valet has no tsnet or other built-in Tailscale mode. Its docs list Tailscale only as a proxy in front of it.

Upstream: MIT, active (v0.9.0 released 2026-12-03). The stack uses the image and the latest tag that the upstream install guide recommends. Port, volumes, health check, and the hardening keys come from the upstream docker-compose.example.yml and the install guide.

What the stack does:

  • Serve forwards to port 7575. The ports block stays commented out.
  • Data in ./valet-data/config (config.yaml) and ./valet-data/data (accounts, history, uploads).
  • Health check: defined by the image (node fetches /healthz), so the Compose file does not override it.
  • No x-arcane block: selfh.st has no Valet icon. Its index only has Valetudo, a different project.

Deviations, listed in the service README:

  • allowedHosts. Valet answers only to localhost, IP addresses, and the names in allowedHosts. Serve passes the Tailnet name as Host, so the page returns 421 until you add <name>.<tailnet>.ts.net. The first-run steps cover it.
  • Hardening. Upstream hardening is kept: read_only, a tmpfs on /tmp, cap_drop: ALL, no-new-privileges, and mem_limit: 512m.
  • No env_file. Integration secrets go through environment in an override, so the container does not get TS_AUTHKEY.
  • No socket proxy. The optional Docker socket proxy is left out.

Found during the test: the container runs as uid 1000. When Docker creates the data folders, they belong to root. The container still reports healthy, but Valet runs a starter config from memory and cannot save accounts, and doctor reports both folders. "Before you start" therefore has the mkdir and chown 1000:1000 step from the upstream guide.

Related Issues

  • None.

Verification

  • docker compose config --quiet from services/valet with the dummy-value command. check-service-list.sh and check-sidecar.sh also pass.
  • The stack started from a copy outside the repository, under a test SERVICE name. Tailscale and the application are healthy, and both health commands exit 0 with docker exec. Serve answers on https://<name>.<tailnet>.ts.net, tested from inside the namespace with --resolve. It returns 421 before allowedHosts is set and 200 after.
  • The main function works, tested through Serve at the API level (no browser):
    • After auth: { mode: local } and a restart, the setup code shows in docker logs.
    • Creating the first account with it works.
    • Sign-in over HTTPS works and the session works.
    • The live /api/events stream delivers widget updates through Serve.
    • A POST with a foreign Origin is refused with 403.
    • user list works in the read-only container.
    • After docker compose restart, the account, the session, and the edited config.yaml survived, and doctor reports nothing wrong.
    • In a separate local run, an allowedHosts edit applied live without a restart, as upstream documents.
  • rumdl check --config .markdownlint.yml . (0.3.6) on the whole repository, and git diff --check origin/main. arcane-registry.json is rebuilt.

Not run:

  • The LAN ports block. The README note on auth.secureCookie: false over plain HTTP comes from the upstream docs.
  • OIDC, proxy sign-in, trustNetwork, and the Docker socket proxy.
  • arm64. Only amd64 was tested.
  • The web interface in a browser. Only the HTTP API was exercised.

Impact on existing users

  • None.

Checklist

  • I have performed a self-review of my code and followed the templates structure.
  • I did not commit a working auth key, password, token, or other credential.
  • The service README uses the headings of the template, in the same order, and is up to date.
  • I added, removed, or renamed the service in the root README.md, in alphabetical order, or this PR does not change the list of services.
  • I ran python3 .github/scripts/build-arcane-registry.py and committed arcane-registry.json if it changed. A new service has the icon from selfh.st/icons in its x-arcane block, or no block when selfh.st has none.

Additional Context

  • Valet is read-only until sign-in is turned on. The README's first-run steps set up local accounts, which is the path that was tested.

@jackspiering jackspiering added the new service request to add a new service label Dec 4, 2026
@jackspiering jackspiering self-assigned this Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new service request to add a new service

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant