Improve bootstrap token instructions for all container types

Updated FirstRunSetup to show generic container commands that work
across different orchestration platforms:
- Use <container-name> placeholder instead of hardcoded "pulse"
- Add kubectl exec example for Kubernetes/Helm deployments
- Clarify "From container host" applies to Docker, Podman, etc.

This ensures the instructions work for Docker Compose, Swarm, Helm,
and any other container orchestrator where the container might have
a different name.
This commit is contained in:
rcourtman 2025-11-09 23:48:43 +00:00
parent b29a830046
commit 999e598e44

View file

@ -320,9 +320,11 @@ IMPORTANT: Keep these credentials secure!
>
<div class="bg-white dark:bg-gray-800 rounded p-3 font-mono text-xs text-gray-800 dark:text-gray-200">
<Show when={isDocker()}>
<div class="text-blue-600 dark:text-blue-400 mb-1"># From Docker host:</div>
docker exec pulse cat {bootstrapTokenPath()}
<div class="text-gray-500 dark:text-gray-400 mt-2 mb-1"># Or from inside container:</div>
<div class="text-blue-600 dark:text-blue-400 mb-1"># From container host:</div>
docker exec &lt;container-name&gt; cat {bootstrapTokenPath()}
<div class="text-gray-500 dark:text-gray-400 mt-2 mb-1"># Or kubectl for Kubernetes:</div>
kubectl exec &lt;pod-name&gt; -- cat {bootstrapTokenPath()}
<div class="text-gray-500 dark:text-gray-400 mt-2 mb-1"># Or exec into the container:</div>
</Show>
cat {bootstrapTokenPath()}
</div>