mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-05-09 02:38:06 +08:00
bac0625eb9
添加 OpenClaw 中文版的 logo、README、数据配置和 docker-compose 文件
37 lines
858 B
YAML
37 lines
858 B
YAML
services:
|
|
openclaw-zh:
|
|
container_name: ${CONTAINER_NAME}
|
|
image: 1186258278/openclaw-zh:latest
|
|
restart: always
|
|
networks:
|
|
- 1panel-network
|
|
environment:
|
|
HOME: /root
|
|
TERM: xterm-256color
|
|
OPENCLAW_DISABLE_BONJOUR: "1"
|
|
OPENCLAW_GATEWAY_TOKEN: ${OPENCLAW_GATEWAY_TOKEN}
|
|
volumes:
|
|
- ./data/conf:/root/.openclaw
|
|
ports:
|
|
- ${PANEL_APP_PORT_HTTP}:18789
|
|
command: openclaw gateway run --allow-unconfigured
|
|
init: true
|
|
healthcheck:
|
|
test:
|
|
[
|
|
"CMD",
|
|
"node",
|
|
"-e",
|
|
"fetch('http://127.0.0.1:18789/healthz').then((r)=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"
|
|
]
|
|
interval: 3m
|
|
timeout: 10s
|
|
start_period: 15s
|
|
retries: 3
|
|
labels:
|
|
createdBy: "Apps"
|
|
|
|
networks:
|
|
1panel-network:
|
|
external: true
|