feat: Add container startup script for backend that conditionally manages OpenClaw gateway and starts the Uvicorn server.

This commit is contained in:
2026-03-13 13:46:29 -04:00
parent deadc684c7
commit a466e64247
4 changed files with 65 additions and 1 deletions
+9
View File
@@ -6,11 +6,20 @@ TELEGRAM_BOT_TOKEN=your-telegram-bot-token
TELEGRAM_CHAT_ID=your-chat-id
# ─── OpenClaw ──────────────────────────────────────────────
# OpenClaw installation type (standalone or Shared)
# Shared: OpenClaw is installed on the host and shared with the container
# Standalone: OpenClaw is installed inside the container with gateway running
OPENCLAW_TYPE=standalone
# Root path on the HOST (contains agents/, workspace/, config.json)
OPENCLAW_HOME=/home/openclaw/.openclaw
# Root path in the CONTAINER (keep as is)
FOXY_HOME=/home/foxy/.openclaw
# OpenClaw installation type (standalone or shared)
# shared: OpenClaw gateway runs on the host (Default if empty)
# standalone: OpenClaw gateway starts automatically inside the container
OPENCLAW_TYPE=standalone
# ─── Gitea ─────────────────────────────────────────────────
GITEA_SERVER=https://gitea.your.server
GITEA_OPENCLAW_TOKEN=your-gitea-token