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:
34
memory-viewer/docker-compose.yml
Normal file
34
memory-viewer/docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user