Add memory-viewer from silicondawn

- Web UI for browsing and editing OpenClaw memory files
- Cloned from https://github.com/silicondawn/memory-viewer
- Built and running on port 8901
- Features: file tree, markdown rendering, search, live reload
- Full access to MEMORY.md, daily notes, skills, automations
This commit is contained in:
Krilly
2026-02-21 02:28:57 +00:00
parent 690a2e31b3
commit c9acf0c4da
78 changed files with 18899 additions and 1 deletions

View File

@@ -0,0 +1,34 @@
services:
memory-viewer:
build:
context: .
dockerfile: Dockerfile
container_name: memory-viewer
ports:
- "8901:8901"
environment:
- NODE_ENV=production
- PORT=8901
- WORKSPACE_DIR=/app/workspace
- STATIC_DIR=/app/dist
volumes:
# Mount your OpenClaw workspace directory here
# Update the path below to match your actual workspace location
- ~/.openclaw/workspace:/app/workspace:ro
# Windows example:
# - C:/Users/YourName/.openclaw/workspace:/app/workspace:ro
# Other Linux/macOS paths:
# - /path/to/your/workspace:/app/workspace:ro
restart: unless-stopped
healthcheck:
test: ["CMD", "node", "-e", "require('http').get('http://localhost:8901/api/info', (r) => {process.exit(r.statusCode === 200 ? 0 : 1)})"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
networks:
- memory-viewer-network
networks:
memory-viewer-network:
driver: bridge