Repository navigation
Valet: new service - #452
Draft
jackspiering wants to merge 1 commit into
Draft
jackspiering wants to merge 1 commit into
jackspiering wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 notailscaleortailscaled, 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
latesttag that the upstream install guide recommends. Port, volumes, health check, and the hardening keys come from the upstreamdocker-compose.example.ymland the install guide.What the stack does:
7575. Theportsblock stays commented out../valet-data/config(config.yaml) and./valet-data/data(accounts, history, uploads)./healthz), so the Compose file does not override it.x-arcaneblock: selfh.st has no Valet icon. Its index only has Valetudo, a different project.Deviations, listed in the service README:
allowedHosts. Valet answers only tolocalhost, IP addresses, and the names inallowedHosts. Serve passes the Tailnet name asHost, so the page returns421until you add<name>.<tailnet>.ts.net. The first-run steps cover it.read_only, atmpfson/tmp,cap_drop: ALL,no-new-privileges, andmem_limit: 512m.env_file. Integration secrets go throughenvironmentin an override, so the container does not getTS_AUTHKEY.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
doctorreports both folders. "Before you start" therefore has themkdirandchown 1000:1000step from the upstream guide.Related Issues
Verification
docker compose config --quietfromservices/valetwith the dummy-value command.check-service-list.shandcheck-sidecar.shalso pass.SERVICEname. Tailscale and the application are healthy, and both health commands exit 0 withdocker exec. Serve answers onhttps://<name>.<tailnet>.ts.net, tested from inside the namespace with--resolve. It returns421beforeallowedHostsis set and200after.auth: { mode: local }and a restart, the setup code shows indocker logs./api/eventsstream delivers widget updates through Serve.Originis refused with403.user listworks in the read-only container.docker compose restart, the account, the session, and the editedconfig.yamlsurvived, anddoctorreports nothing wrong.allowedHostsedit applied live without a restart, as upstream documents.rumdl check --config .markdownlint.yml .(0.3.6) on the whole repository, andgit diff --check origin/main.arcane-registry.jsonis rebuilt.Not run:
portsblock. The README note onauth.secureCookie: falseover plain HTTP comes from the upstream docs.trustNetwork, and the Docker socket proxy.Impact on existing users
Checklist
python3 .github/scripts/build-arcane-registry.pyand committedarcane-registry.jsonif it changed. A new service has the icon from selfh.st/icons in itsx-arcaneblock, or no block when selfh.st has none.Additional Context