Initial commit: OpenClaw Memory System MVP

This commit is contained in:
daotong
2026-04-04 11:15:57 +00:00
commit f18f4daea5
14 changed files with 1389 additions and 0 deletions

32
docker-compose.yml Normal file
View File

@@ -0,0 +1,32 @@
version: '3.8'
services:
memory:
build: .
container_name: openclaw-memory
ports:
- "3000:3000"
environment:
- DB_HOST=postgres
- DB_PORT=5432
- DB_NAME=openclaw
- DB_USER=postgres
- DB_PASSWORD=${DB_PASSWORD:-postgres}
- PORT=3000
- NODE_ENV=production
depends_on:
postgres:
condition: service_healthy
networks:
- openclaw-network
restart: unless-stopped
healthcheck:
test: ["CMD", "node", "-e", "require('http').get('http://localhost:3000/health', (r) => {process.exit(r.statusCode === 200 ? 0 : 1)})"]
interval: 30s
timeout: 3s
retries: 3
start_period: 5s
networks:
openclaw-network:
external: true