Revert manual data directory setup instructions from agent modal

The Docker agent now handles permissions automatically via the
entrypoint script, so users don't need to manually create the
data directory or run chown commands.

Reverted the UI back to the simple docker-compose example.
This commit is contained in:
Graham McIntire 2026-01-14 09:36:59 -06:00
parent 2aca9dc933
commit fa591fde05
No known key found for this signature in database

View file

@ -213,15 +213,8 @@
<div class="bg-zinc-50 dark:bg-zinc-800 border border-zinc-200 dark:border-zinc-700 rounded-lg p-4">
<h4 class="text-sm font-medium text-zinc-900 dark:text-zinc-100 mb-2">
Docker Compose Setup
Docker Compose Example
</h4>
<div class="mb-3 text-xs text-zinc-600 dark:text-zinc-400">
<p class="mb-2">First, create the data directory with proper permissions:</p>
<pre class="bg-zinc-100 dark:bg-zinc-900 rounded px-2 py-1 mb-2"><code>mkdir -p data && chown -R 1000:1000 data</code></pre>
<p>
Then create <code class="bg-zinc-100 dark:bg-zinc-900 rounded px-1">docker-compose.yml</code>:
</p>
</div>
<pre class="text-xs font-mono text-zinc-600 dark:text-zinc-400 overflow-x-auto"><code>services:
towerops-agent:
image: {@agent_image}