ai-pipeline-builder-backend
6.6K
AI-powered pipeline builder and analytics platform - Backend API Server
# Simple deployment with PostgreSQL
docker run -d --name postgres \
-e POSTGRES_DB=ai_insights \
-e POSTGRES_USER=ai_user \
-e POSTGRES_PASSWORD=secure_pass \
-p 5432:5432 \
postgres:15-alpine
docker run -d --name ai-insights-backend \
-p 5000:5000 \
-e DATABASE_URL=postgresql://ai_user:secure_pass@postgres:5432/ai_insights \
-e JWT_SECRET=your-super-secure-jwt-secret-key \
-e SUBSCRIPTION_KEY=your-subscription-key \
--link postgres:postgres \
your-username/ai-insights-backend:latest
# API available at http://localhost:5000
The AI Insights Backend is a powerful Node.js API server that provides:
# Database (Required)
DATABASE_URL=postgresql://user:password@host:5432/database
# Security (Required)
JWT_SECRET=your-secure-jwt-secret-minimum-32-characters
ENCRYPTION_KEY=your-exactly-32-character-encryption-key
# Subscription (Required)
SUBSCRIPTION_KEY=your-subscription-jwt-token
SUBSCRIPTION_SECRET=your-subscription-secret
# Admin User Creation
FIRST_TIME_SETUP=true
[email protected]
ADMIN_PASSWORD=secure-admin-password
# Company Branding
COMPANY_NAME=Your Company Name
LOGO_URL=https://your-domain.com/logo.png
PRIMARY_COLOR=#3b82f6
docker run -d \
--name ai-insights-backend \
-p 5000:5000 \
-e DATABASE_URL=postgresql://user:pass@host:5432/db \
-e JWT_SECRET=your-jwt-secret \
-e SUBSCRIPTION_KEY=your-subscription-key \
your-username/ai-insights-backend:latest
docker run -d \
--name ai-insights-backend \
-p 5000:5000 \
-e DATABASE_URL=postgresql://user:pass@your-db-host:5432/ai_insights \
-e JWT_SECRET=your-super-secure-jwt-secret-key \
-e ENCRYPTION_KEY=your-32-character-encryption-key \
-e SUBSCRIPTION_KEY=your-subscription-jwt-token \
-e SUBSCRIPTION_SECRET=your-subscription-secret \
-e FIRST_TIME_SETUP=true \
-e [email protected] \
-e ADMIN_PASSWORD=secure-password \
your-username/ai-insights-backend:latest
version: '3.8'
services:
postgres:
image: postgres:15-alpine
environment:
POSTGRES_DB: ai_insights
POSTGRES_USER: ai_user
POSTGRES_PASSWORD: secure_pass
volumes:
- postgres_data:/var/lib/postgresql/data
backend:
image: your-username/ai-insights-backend:latest
ports:
- "5000:5000"
environment:
- DATABASE_URL=postgresql://ai_user:secure_pass@postgres:5432/ai_insights
- JWT_SECRET=your-jwt-secret
- SUBSCRIPTION_KEY=your-subscription-key
depends_on:
- postgres
volumes:
postgres_data:
GET /api/health - Health check and statusPOST /api/auth/login - User authenticationGET /api/data-sources - List data sourcesGET /api/dashboards - List dashboardsGET /api/pipelines - List data pipelinesPOST /api/ai/query - AI-powered queriesGET /api/admin/users - User managementGET /api/embed/dashboard/:id - Embedded dashboards# Basic health check
curl http://localhost:5000/api/health
# Detailed readiness check
curl http://localhost:5000/api/ready
# Subscription status
curl -H "X-Subscription-Key: your-key" http://localhost:5000/api/subscription
Automatic database setup on first run:
latest - Latest stable release (recommended)v1.x.x - Specific version releasesdev - Development builds (not for production)# Update to latest version
docker pull your-username/ai-insights-backend:latest
docker stop ai-insights-backend
docker rm ai-insights-backend
# Run with new image (automatic migration)
This software requires a valid subscription license from AI Insights. Each deployment must include a valid SUBSCRIPTION_KEY.
Ready to get started? Contact us at [email protected] for your subscription key!
Content type
Image
Digest
sha256:55905bd31…
Size
839.7 MB
Last updated
6 months ago
docker pull intraqdev/ai-pipeline-builder-backend