e623d42eb8
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
19 lines
480 B
YAML
19 lines
480 B
YAML
services:
|
|
openclaw-dashboard:
|
|
build: .
|
|
ports:
|
|
- "${PORT:-3850}:3850"
|
|
environment:
|
|
PORT: "3850"
|
|
SESSIONS_DIR: "/sessions"
|
|
volumes:
|
|
# Mount the sessions directory as read-only
|
|
- ${SESSIONS_DIR:-/home/node/.openclaw/agents}:/sessions:ro
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-qO-", "http://localhost:3850/api/sessions"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 10s
|