Fix Unraid standalone template value persistence
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<Container version="2">
|
||||
<Name>claw-telegram</Name>
|
||||
<Name>claw-telegram-standalone</Name>
|
||||
<Repository>git.wylab.me/wylab/claw-telegram:latest</Repository>
|
||||
<Registry>https://git.wylab.me</Registry>
|
||||
<Network>bridge</Network>
|
||||
@@ -9,21 +9,22 @@
|
||||
<Privileged>false</Privileged>
|
||||
<Support>https://git.wylab.me/wylab/claw-code-parity</Support>
|
||||
<Project>https://git.wylab.me/wylab/claw-code-parity</Project>
|
||||
<Overview>Claw Telegram Bot — a Rust-based Claude Code agent accessible via Telegram. Uses long-polling (no inbound ports required). Provide your Telegram bot token, allowed user IDs, and Anthropic API key to get started.</Overview>
|
||||
<Overview>Claw Telegram standalone bot. This is the legacy single-process mode, not the gateway/worker deployment. Unraid stores live values inside each Config element body, so this template uses explicit opening and closing tags for every variable.</Overview>
|
||||
<Category>Productivity: Tools:Utilities</Category>
|
||||
<WebUI/>
|
||||
<TemplateURL/>
|
||||
<Icon>https://www.anthropic.com/favicon.ico</Icon>
|
||||
<ExtraParams/>
|
||||
<PostArgs/>
|
||||
<ExtraParams>--entrypoint claw-telegram</ExtraParams>
|
||||
<PostArgs>standalone serve</PostArgs>
|
||||
<CPUset/>
|
||||
<DateInstalled/>
|
||||
<DonateText/>
|
||||
<DonateLink/>
|
||||
<Requires>Anthropic API key for Claude model access</Requires>
|
||||
<Config Name="Telegram Bot Token" Target="CLAW_TELEGRAM_BOT_TOKEN" Default="" Mode="" Description="Telegram Bot API token from @BotFather" Type="Variable" Display="always" Required="true" Mask="true"/>
|
||||
<Config Name="Allowed User IDs" Target="CLAW_TELEGRAM_ALLOWED_USER_IDS" Default="" Mode="" Description="Comma-separated Telegram user IDs permitted to use the bot (owner ID)" Type="Variable" Display="always" Required="true" Mask="false"/>
|
||||
<Config Name="Anthropic API Key" Target="ANTHROPIC_API_KEY" Default="" Mode="" Description="Anthropic API key for Claude model access" Type="Variable" Display="always" Required="true" Mask="true"/>
|
||||
<Requires>Anthropic OAuth token or API key for Claude model access</Requires>
|
||||
<Config Name="Telegram Bot Token" Target="CLAW_TELEGRAM_BOT_TOKEN" Default="" Mode="" Description="Telegram Bot API token from @BotFather" Type="Variable" Display="always" Required="true" Mask="true"></Config>
|
||||
<Config Name="Allowed User IDs" Target="CLAW_TELEGRAM_ALLOWED_USER_IDS" Default="" Mode="" Description="Comma-separated Telegram user IDs permitted to use the bot (owner ID)" Type="Variable" Display="always" Required="true" Mask="false"></Config>
|
||||
<Config Name="Anthropic OAuth Token" Target="ANTHROPIC_AUTH_TOKEN" Default="" Mode="" Description="Anthropic OAuth bearer token for Claude model access" Type="Variable" Display="always" Required="false" Mask="true"></Config>
|
||||
<Config Name="Anthropic API Key" Target="ANTHROPIC_API_KEY" Default="" Mode="" Description="Optional legacy Anthropic API key for Claude model access" Type="Variable" Display="advanced" Required="false" Mask="true"></Config>
|
||||
<Config Name="State Directory" Target="/data/.claw-telegram" Default="/mnt/user/appdata/claw-telegram/state" Mode="rw" Description="Persistent state (sessions, registry, offsets)" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/claw-telegram/state</Config>
|
||||
<Config Name="Working Directory" Target="/workspace" Default="/mnt/user/appdata/claw-telegram/workspace" Mode="rw" Description="Default working directory for agent runs" Type="Path" Display="always" Required="false" Mask="false">/mnt/user/appdata/claw-telegram/workspace</Config>
|
||||
<Config Name="Default CWD" Target="CLAW_TELEGRAM_DEFAULT_CWD" Default="/workspace" Mode="" Description="Default working directory path inside the container" Type="Variable" Display="advanced" Required="false" Mask="false">/workspace</Config>
|
||||
|
||||
Reference in New Issue
Block a user