30 lines
883 B
Bash
30 lines
883 B
Bash
# 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=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
|
|
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
|