Full-stack implementation of the Reckue Dev platform: API: JWT auth, CRUD for users/projects/machines/workspaces/sessions, WebSocket gateway for real-time agent communication. Web: Login/register, dashboard with stats, project/machine/session management pages, sidebar navigation, dark theme. Agent: Rust WebSocket client with PTY terminal management, heartbeat, reconnection logic, Socket.IO protocol support. Deploy: Updated docker-compose and env configuration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
34 lines
795 B
YAML
34 lines
795 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
api:
|
|
build:
|
|
context: ..
|
|
dockerfile: deploy/Dockerfile.api
|
|
ports:
|
|
- "3001:3001"
|
|
environment:
|
|
- NODE_ENV=production
|
|
- PORT=3001
|
|
- DATABASE_HOST=${DATABASE_HOST:-dfbcf8e96179bce116eb84b5.twc1.net}
|
|
- DATABASE_PORT=5432
|
|
- DATABASE_NAME=${DATABASE_NAME:-default_db}
|
|
- DATABASE_USER=${DATABASE_USER:-gen_user}
|
|
- DATABASE_PASSWORD=${DATABASE_PASSWORD}
|
|
- DATABASE_SSL=true
|
|
- JWT_SECRET=${JWT_SECRET}
|
|
restart: unless-stopped
|
|
|
|
web:
|
|
build:
|
|
context: ..
|
|
dockerfile: deploy/Dockerfile.web
|
|
ports:
|
|
- "3000:3000"
|
|
environment:
|
|
- NODE_ENV=production
|
|
- NEXT_PUBLIC_API_URL=https://app.reckue.com/api
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- api
|