Add comprehensive admin features and multi-system integration
- Add admin dashboard with sync controls and data browser - Implement RMM, Auvik, and Addigy organization mappings - Add chunked ticket sync with progress tracking - Implement entity sync service with rate limiting - Add analytics engine and performance optimizer - Create data browser for all PSA entities - Add navigation components and UI improvements - Implement background processing and sync services - Add comprehensive documentation and migration scripts - Update configuration items with multi-system support - Enhance contact management and purchase history - Add issue type assignment and LLM analyzer - Improve error handling and logging utilities
This commit is contained in:
parent
e8462ef301
commit
6eee14f8af
171 changed files with 32671 additions and 621 deletions
|
|
@ -1,5 +1,3 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
# Redis cache service on custom port 6380 (instead of default 6379)
|
||||
redis:
|
||||
|
|
@ -17,6 +15,28 @@ services:
|
|||
timeout: 3s
|
||||
retries: 5
|
||||
|
||||
# PostgreSQL database for Autotask sync
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
container_name: pulse-postgres
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "5432:5432"
|
||||
env_file:
|
||||
- .env.local
|
||||
environment:
|
||||
POSTGRES_DB: ${POSTGRES_DB:-pulse_autotask}
|
||||
POSTGRES_USER: ${POSTGRES_USER:-pulse_user}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
- ./migrations:/docker-entrypoint-initdb.d:ro
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-pulse_user} -d ${POSTGRES_DB:-pulse_autotask}"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
# Next.js application on port 3100 (instead of 3000)
|
||||
app:
|
||||
build:
|
||||
|
|
@ -51,9 +71,24 @@ services:
|
|||
ADDIGY_API_URL: ${ADDIGY_API_URL}
|
||||
ADDIGY_API_TOKEN: ${ADDIGY_API_TOKEN}
|
||||
ADDIGY_ORG_ID: ${ADDIGY_ORG_ID}
|
||||
|
||||
# Auvik API Configuration
|
||||
AUVIK_API_URL: ${AUVIK_API_URL}
|
||||
AUVIK_API_USER: ${AUVIK_API_USER}
|
||||
AUVIK_API_KEY: ${AUVIK_API_KEY}
|
||||
|
||||
# PostgreSQL Configuration
|
||||
POSTGRES_HOST: postgres
|
||||
POSTGRES_PORT: 5432
|
||||
POSTGRES_DB: ${POSTGRES_DB:-pulse_autotask}
|
||||
POSTGRES_USER: ${POSTGRES_USER:-pulse_user}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-your_secure_password_here_change_in_production}
|
||||
DATABASE_URL: postgresql://${POSTGRES_USER:-pulse_user}:${POSTGRES_PASSWORD:-your_secure_password_here_change_in_production}@postgres:5432/${POSTGRES_DB:-pulse_autotask}
|
||||
depends_on:
|
||||
redis:
|
||||
condition: service_healthy
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
volumes:
|
||||
# Mount .env.local for development (remove in production)
|
||||
- ./.env.local:/app/.env.local:ro
|
||||
|
|
@ -61,6 +96,8 @@ services:
|
|||
volumes:
|
||||
redis_data:
|
||||
driver: local
|
||||
postgres_data:
|
||||
driver: local
|
||||
|
||||
networks:
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue