iteration 1 complete

This commit is contained in:
2026-01-27 14:42:26 -05:00
parent db35d8bd07
commit a6d445f36a
3 changed files with 172 additions and 13 deletions

29
env-sample Normal file
View File

@@ -0,0 +1,29 @@
# Database
DATABASE_URL=postgresql://postgres:changeme@postgres:5432/privacy_analyzer
# Redis
REDIS_URL=redis://redis:6379
# Meilisearch
MEILISEARCH_URL=http://meilisearch:7700
MEILISEARCH_API_KEY=your_secure_master_key_here
# AI Provider Configuration
# Option 1: Ollama (Local LLM - DEFAULT, no API costs!)
USE_OLLAMA=true
OLLAMA_URL=http://ollama:11434
OLLAMA_MODEL=gpt-oss:latest
# Option 2: OpenAI (Cloud - optional fallback)
# Set these if you want OpenAI as fallback when Ollama is unavailable
OPENAI_API_KEY=sk-proj-
OPENAI_MODEL=gpt-4o-mini
# Admin Credentials (change these!)
ADMIN_USERNAME=admin
ADMIN_PASSWORD=secure_password_here
SESSION_SECRET=your_random_session_secret_here
# App
PORT=3000
NODE_ENV=local