Files
boc/vims-backend/docker-compose.yml
T
Bernt 58ca4e68db feat(boc): Complete Business Operations Center v1.0
- Go backend API with full CRUD for all modules (CRM, Sales, Finance, HR, Legal, Marketing, Support, Purchase, Inventory, Projects, Automation, Analytics)
- Rust analytics service with parallel report generation
- C runtime with POSIX shared memory IPC
- PostgreSQL schema with 30+ tables, full migrations
- Redis cache, sessions, pub/sub
- Kafka event streaming with Zookeeper
- WebSocket hub for real-time updates
- Automation engine with cron jobs, workflows, event triggers
- JWT authentication, multi-tenant from start
- Docker Compose with all services
- Nginx reverse proxy with rate limiting
- Integration tests passing
- Feature gap analysis against Fortnox/Odoo/Visma

Refs: BOC-001
2026-07-12 12:41:35 +00:00

85 lines
1.6 KiB
YAML

version: '3.8'
services:
vims-api:
build: .
ports:
- "3450:3450"
environment:
- NODE_ENV=production
- PORT=3450
- DB_HOST=postgres
- DB_PORT=5432
- DB_NAME=vims
- DB_USER=vims
- DB_PASSWORD=vims
- REDIS_HOST=redis
- REDIS_PORT=6379
depends_on:
- postgres
- redis
volumes:
- ./data:/app/data
- ./logs:/app/logs
restart: unless-stopped
vims-worker:
build: .
command: node src/workers/processQueue.js
environment:
- NODE_ENV=production
- DB_HOST=postgres
- DB_PORT=5432
- DB_NAME=vims
- DB_USER=vims
- DB_PASSWORD=vims
- REDIS_HOST=redis
- REDIS_PORT=6379
depends_on:
- postgres
- redis
volumes:
- ./data:/app/data
- ./logs:/app/logs
restart: unless-stopped
deploy:
replicas: 2
postgres:
image: postgres:15-alpine
environment:
- POSTGRES_DB=vims
- POSTGRES_USER=vims
- POSTGRES_PASSWORD=vims
volumes:
- postgres_data:/var/lib/postgresql/data
ports:
- "5433:5432"
restart: unless-stopped
redis:
image: redis:7-alpine
volumes:
- redis_data:/data
ports:
- "6380:6379"
restart: unless-stopped
minio:
image: minio/minio:latest
command: server /data --console-address ":9001"
environment:
- MINIO_ROOT_USER=vims
- MINIO_ROOT_PASSWORD=vims-secret-key
volumes:
- minio_data:/data
ports:
- "9000:9000"
- "9001:9001"
restart: unless-stopped
volumes:
postgres_data:
redis_data:
minio_data: