update 26.8.11

This commit is contained in:
kun
2026-08-18 13:28:24 +08:00
parent 035c2eaf62
commit 8a97973289
3 changed files with 50 additions and 94 deletions
+26 -17
View File
@@ -22,23 +22,23 @@
<option name="hideEmptyMiddlePackages" value="true" /> <option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" /> <option name="showLibraryContents" value="true" />
</component> </component>
<component name="PropertiesComponent"><![CDATA[{ <component name="PropertiesComponent">{
"keyToString": { &quot;keyToString&quot;: {
"ASKED_SHARE_PROJECT_CONFIGURATION_FILES": "true", &quot;ASKED_SHARE_PROJECT_CONFIGURATION_FILES&quot;: &quot;true&quot;,
"ModuleVcsDetector.initialDetectionPerformed": "true", &quot;ModuleVcsDetector.initialDetectionPerformed&quot;: &quot;true&quot;,
"RunOnceActivity.ShowReadmeOnStart": "true", &quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
"RunOnceActivity.git.unshallow": "true", &quot;RunOnceActivity.git.unshallow&quot;: &quot;true&quot;,
"RunOnceActivity.typescript.service.memoryLimit.init": "true", &quot;RunOnceActivity.typescript.service.memoryLimit.init&quot;: &quot;true&quot;,
"SHARE_PROJECT_CONFIGURATION_FILES": "true", &quot;SHARE_PROJECT_CONFIGURATION_FILES&quot;: &quot;true&quot;,
"codeWithMe.voiceChat.enabledByDefault": "false", &quot;codeWithMe.voiceChat.enabledByDefault&quot;: &quot;false&quot;,
"git-widget-placeholder": "main", &quot;git-widget-placeholder&quot;: &quot;main&quot;,
"last_opened_file_path": "/Users/kun/PycharmProjects/Docker_Compose/4600Pro/So-Novel", &quot;last_opened_file_path&quot;: &quot;/Users/kun/PycharmProjects/Docker_Compose/4600Pro/So-Novel&quot;,
"node.js.detected.package.jshint": "true", &quot;node.js.detected.package.jshint&quot;: &quot;true&quot;,
"node.js.selected.package.jshint": "", &quot;node.js.selected.package.jshint&quot;: &quot;&quot;,
"nodejs_package_manager_path": "npm", &quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
"settings.editor.selected.configurable": "configurable.group.project" &quot;settings.editor.selected.configurable&quot;: &quot;configurable.group.project&quot;
} }
}]]></component> }</component>
<component name="RecentsManager"> <component name="RecentsManager">
<key name="CopyFile.RECENT_KEYS"> <key name="CopyFile.RECENT_KEYS">
<recent name="$PROJECT_DIR$/4600Pro/So-Novel" /> <recent name="$PROJECT_DIR$/4600Pro/So-Novel" />
@@ -81,6 +81,7 @@
<workItem from="1786082842659" duration="893000" /> <workItem from="1786082842659" duration="893000" />
<workItem from="1786323616451" duration="105000" /> <workItem from="1786323616451" duration="105000" />
<workItem from="1786409759648" duration="770000" /> <workItem from="1786409759648" duration="770000" />
<workItem from="1787022222565" duration="1218000" />
</task> </task>
<task id="LOCAL-00001" summary="update 26.7.27"> <task id="LOCAL-00001" summary="update 26.7.27">
<option name="closed" value="true" /> <option name="closed" value="true" />
@@ -210,7 +211,15 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1786410474675</updated> <updated>1786410474675</updated>
</task> </task>
<option name="localTasksCounter" value="17" /> <task id="LOCAL-00017" summary="update 26.8.11">
<option name="closed" value="true" />
<created>1787022400600</created>
<option name="number" value="00017" />
<option name="presentableId" value="LOCAL-00017" />
<option name="project" value="LOCAL" />
<updated>1787022400600</updated>
</task>
<option name="localTasksCounter" value="18" />
<servers /> <servers />
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">
+12 -46
View File
@@ -1,56 +1,22 @@
# ========================================================= # 官方镜像
# OpenClaw Docker deployment OPENCLAW_IMAGE=ghcr.io/openclaw/openclaw:latest
# =========================================================
# Official image # 宿主机持久化目录
OPENCLAW_IMAGE=ghcr.io/openclaw/openclaw:latest-browser
# ---------------------------------------------------------
# Host paths
# ---------------------------------------------------------
OPENCLAW_CONFIG_DIR=/volume2/docker/docker_projects/openclaw/data OPENCLAW_CONFIG_DIR=/volume2/docker/docker_projects/openclaw/data
OPENCLAW_WORKSPACE_DIR=/volume2/docker/docker_projects/openclaw/data/workspace OPENCLAW_WORKSPACE_DIR=/volume2/docker/docker_projects/openclaw/workspace
OPENCLAW_AUTH_PROFILE_SECRET_DIR=/volume2/docker/docker_projects/openclaw/auth OPENCLAW_AUTH_PROFILE_SECRET_DIR=/volume2/docker/docker_projects/openclaw/auth
# --------------------------------------------------------- # 你希望 Web UI 使用 2800
# Gateway
# ---------------------------------------------------------
OPENCLAW_GATEWAY_PORT=2800 OPENCLAW_GATEWAY_PORT=2800
OPENCLAW_BRIDGE_PORT=2879
# Docker deployment should normally use LAN bind # Bridge 保持默认
OPENCLAW_BRIDGE_PORT=2799
# Docker 下使用 LAN
OPENCLAW_GATEWAY_BIND=lan OPENCLAW_GATEWAY_BIND=lan
# Generate a long random value on the server. # 时区
# Example:
# head -c 32 /dev/urandom | od -An -tx1 | tr -d ' \n'
OPENCLAW_GATEWAY_TOKEN=CHANGE_ME_TO_A_LONG_RANDOM_TOKEN
# ---------------------------------------------------------
# Timezone
# ---------------------------------------------------------
OPENCLAW_TZ=Asia/Shanghai OPENCLAW_TZ=Asia/Shanghai
# --------------------------------------------------------- # 先自己生成一个
# Optional provider keys OPENCLAW_GATEWAY_TOKEN=fca0bf61230f9734a86872e08baed0f0747c4360fb94edb1cc39ab4cd370cd93
# Add only the providers you actually use.
# ---------------------------------------------------------
# OPENAI_API_KEY=
# ANTHROPIC_API_KEY=
# DEEPSEEK_API_KEY=
# ---------------------------------------------------------
# Optional Telegram
# Better added later when we configure the Butler Agent.
# ---------------------------------------------------------
# TELEGRAM_BOT_TOKEN=
# ---------------------------------------------------------
# Optional
# Usually leave empty/default
# ---------------------------------------------------------
OPENCLAW_DISABLE_BONJOUR=1
OPENCLAW_ALLOW_INSECURE_PRIVATE_WS=
+11 -30
View File
@@ -1,7 +1,6 @@
services: services:
openclaw-gateway: openclaw-gateway:
image: ${OPENCLAW_IMAGE} image: ${OPENCLAW_IMAGE}
container_name: openclaw-gateway
env_file: env_file:
- .env - .env
@@ -11,31 +10,22 @@ services:
OPENCLAW_HOME: /home/node OPENCLAW_HOME: /home/node
TERM: xterm-256color TERM: xterm-256color
# Container-side paths should stay fixed.
OPENCLAW_STATE_DIR: /home/node/.openclaw OPENCLAW_STATE_DIR: /home/node/.openclaw
OPENCLAW_CONFIG_PATH: /home/node/.openclaw/openclaw.json OPENCLAW_CONFIG_PATH: /home/node/.openclaw/openclaw.json
OPENCLAW_CONFIG_DIR: /home/node/.openclaw OPENCLAW_CONFIG_DIR: /home/node/.openclaw
OPENCLAW_WORKSPACE_DIR: /home/node/.openclaw/workspace OPENCLAW_WORKSPACE_DIR: /home/node/.openclaw/workspace
OPENCLAW_GATEWAY_TOKEN: ${OPENCLAW_GATEWAY_TOKEN} OPENCLAW_GATEWAY_TOKEN: ${OPENCLAW_GATEWAY_TOKEN}
OPENCLAW_ALLOW_INSECURE_PRIVATE_WS: ${OPENCLAW_ALLOW_INSECURE_PRIVATE_WS:-}
OPENCLAW_DISABLE_BONJOUR: ${OPENCLAW_DISABLE_BONJOUR:-1}
TZ: ${OPENCLAW_TZ:-Asia/Shanghai} TZ: ${OPENCLAW_TZ:-Asia/Shanghai}
volumes: volumes:
# Main OpenClaw persistent state - "${OPENCLAW_CONFIG_DIR}:/home/node/.openclaw"
- ${OPENCLAW_CONFIG_DIR}:/home/node/.openclaw - "${OPENCLAW_WORKSPACE_DIR}:/home/node/.openclaw/workspace"
- "${OPENCLAW_AUTH_PROFILE_SECRET_DIR}:/home/node/.config/openclaw"
# Explicit workspace mount
- ${OPENCLAW_WORKSPACE_DIR}:/home/node/.openclaw/workspace
# Auth/profile secrets
- ${OPENCLAW_AUTH_PROFILE_SECRET_DIR}:/home/node/.config/openclaw
ports: ports:
- "${OPENCLAW_GATEWAY_PORT:-2800}:18789" - "${OPENCLAW_GATEWAY_PORT:-2800}:18789"
- "${OPENCLAW_BRIDGE_PORT:-2879}:18790" - "${OPENCLAW_BRIDGE_PORT:-18790}:18790"
extra_hosts: extra_hosts:
- "host.docker.internal:host-gateway" - "host.docker.internal:host-gateway"
@@ -48,7 +38,6 @@ services:
- no-new-privileges:true - no-new-privileges:true
init: true init: true
restart: unless-stopped restart: unless-stopped
command: command:
@@ -77,13 +66,12 @@ services:
openclaw-cli: openclaw-cli:
image: ${OPENCLAW_IMAGE} image: ${OPENCLAW_IMAGE}
container_name: openclaw-cli
network_mode: "service:openclaw-gateway"
env_file: env_file:
- .env - .env
network_mode: "service:openclaw-gateway"
environment: environment:
HOME: /home/node HOME: /home/node
OPENCLAW_HOME: /home/node OPENCLAW_HOME: /home/node
@@ -95,15 +83,13 @@ services:
OPENCLAW_WORKSPACE_DIR: /home/node/.openclaw/workspace OPENCLAW_WORKSPACE_DIR: /home/node/.openclaw/workspace
OPENCLAW_GATEWAY_TOKEN: ${OPENCLAW_GATEWAY_TOKEN} OPENCLAW_GATEWAY_TOKEN: ${OPENCLAW_GATEWAY_TOKEN}
OPENCLAW_ALLOW_INSECURE_PRIVATE_WS: ${OPENCLAW_ALLOW_INSECURE_PRIVATE_WS:-}
BROWSER: echo BROWSER: echo
TZ: ${OPENCLAW_TZ:-Asia/Shanghai} TZ: ${OPENCLAW_TZ:-Asia/Shanghai}
volumes: volumes:
- ${OPENCLAW_CONFIG_DIR}:/home/node/.openclaw - "${OPENCLAW_CONFIG_DIR}:/home/node/.openclaw"
- ${OPENCLAW_WORKSPACE_DIR}:/home/node/.openclaw/workspace - "${OPENCLAW_WORKSPACE_DIR}:/home/node/.openclaw/workspace"
- ${OPENCLAW_AUTH_PROFILE_SECRET_DIR}:/home/node/.config/openclaw - "${OPENCLAW_AUTH_PROFILE_SECRET_DIR}:/home/node/.config/openclaw"
cap_drop: cap_drop:
- NET_RAW - NET_RAW
@@ -117,13 +103,8 @@ services:
init: true init: true
entrypoint: entrypoint:
[ - node
"node", - dist/index.js
"dist/index.js"
]
depends_on: depends_on:
- openclaw-gateway - openclaw-gateway
profiles:
- cli