Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

🔖 Checkpoint: Edit /workspaces/claude-code-flow/user-service/docker-compose.yml

rUv363cafef07ab
diff --git a/.claude/checkpoints/1754489141.json b/.claude/checkpoints/1754489141.json
new file mode 100644
index 0000000000..36524ec3a8
--- /dev/null
+++ b/.claude/checkpoints/1754489141.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250806-140541", "file": "/workspaces/claude-code-flow/user-service/Dockerfile", "timestamp": "2025-08-06T14:05:41Z", "type": "pre-edit", "original_branch": "alpha-88"}
diff --git a/.claude/checkpoints/1754489142.json b/.claude/checkpoints/1754489142.json
new file mode 100644
index 0000000000..3bf49ab24d
--- /dev/null
+++ b/.claude/checkpoints/1754489142.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250806-140542", "file": "/workspaces/claude-code-flow/user-service/Dockerfile", "timestamp": "2025-08-06T14:05:42Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 48 +++++++++++++++++++ .claude-flow/metrics/task-metrics.json | 6 +-- .claude/checkpoints/1754489125.json | 1 + .claude/checkpoints/1754489127.json | 1 + benchmark/.claude-flow/metrics/performance.json | 2 +- benchmark/.claude-flow/metrics/task-metrics.json | 6 +-- benchmark/.claude/checkpoints/1754489137.json | 1 + claude-flow-wiki | 0 user-service/Dockerfile | 60 ++++++++++++++++++++++++ 10 files changed, 119 insertions(+), 8 deletions(-) "}
diff --git a/benchmark/.claude/checkpoints/1754489154.json b/benchmark/.claude/checkpoints/1754489154.json
new file mode 100644
index 0000000000..f77b8c763a
--- /dev/null
+++ b/benchmark/.claude/checkpoints/1754489154.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250806-140553", "file": "/workspaces/claude-code-flow/claude-flow-wiki/Benchmark-System.md", "timestamp": "2025-08-06T14:05:54Z", "type": "pre-edit", "original_branch": "alpha-88"}
diff --git a/user-service/docker-compose.yml b/user-service/docker-compose.yml
new file mode 100644
index 0000000000..6efed6c7a8
--- /dev/null
+++ b/user-service/docker-compose.yml
@@ -0,0 +1,79 @@
+version: '3.8'
+
+services:
+ user-service:
+ build:
+ context: .
+ dockerfile: Dockerfile
+ container_name: user-service
+ restart: unless-stopped
+ ports:
+ - "3000:3000"
+ environment:
+ NODE_ENV: production
+ PORT: 3000
+ HOST: 0.0.0.0
+ JWT_SECRET: ${JWT_SECRET:-change-this-secret-key}
+ JWT_EXPIRES_IN: ${JWT_EXPIRES_IN:-24h}
+ BCRYPT_ROUNDS: ${BCRYPT_ROUNDS:-10}
+ LOG_LEVEL: ${LOG_LEVEL:-info}
+ CORS_ORIGIN: ${CORS_ORIGIN:-*}
+ RATE_LIMIT_WINDOW_MS: ${RATE_LIMIT_WINDOW_MS:-900000}
+ RATE_LIMIT_MAX_REQUESTS: ${RATE_LIMIT_MAX_REQUESTS:-100}
+ volumes:
+ - ./logs:/app/logs
+ networks:
+ - user-service-network
+ healthcheck:
+ test: ["CMD", "curl", "-f", "http://localhost:3000/health"]
+ interval: 30s
+ timeout: 10s
+ retries: 3
+ start_period: 40s
+
+ # Optional: PostgreSQL database
+ postgres:
+ image: postgres:16-alpine
+ container_name: user-service-db
+ restart: unless-stopped
+ environment:
+ POSTGRES_DB: userdb
+ POSTGRES_USER: ${DB_USER:-postgres}
+ POSTGRES_PASSWORD: ${DB_PASSWORD:-postgres}
+ ports:
+ - "5432:5432"
+ volumes:
+ - postgres_data:/var/lib/postgresql/data
+ networks:
+ - user-service-network
+ healthcheck:
+ test: ["CMD-SHELL", "pg_isready -U postgres"]
+ interval: 10s
+ timeout: 5s
+ retries: 5
+
+ # Optional: Redis for session management
+ redis:
+ image: redis:7-alpine
+ container_name: user-service-redis
+ restart: unless-stopped
+ command: redis-server --appendonly yes
+ ports:
+ - "6379:6379"
+ volumes:
+ - redis_data:/data
+ networks:
+ - user-service-network
+ healthcheck:
+ test: ["CMD", "redis-cli", "ping"]
+ interval: 10s
+ timeout: 5s
+ retries: 5
+
+networks:
+ user-service-network:
+ driver: bridge
+
+volumes:
+ postgres_data:
+ redis_data:
\ No newline at end of file