forked from aligorithm/Zero-Health
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
55 lines (44 loc) · 1.43 KB
/
env.example
File metadata and controls
55 lines (44 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# RipperDoc Environment Configuration
# Copy this file to .env and modify the values for your environment
# Environment
NODE_ENV=development
# Database Configuration
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=ripperdoc
POSTGRES_HOST=db
POSTGRES_PORT=5432
# JWT Configuration
JWT_SECRET=your-secret-key-here
# LLM Configuration
LLM_PROVIDER=openai
OPENAI_API_KEY=your-openai-api-key-here
OPENAI_MODEL=gpt-4o-mini
OPENAI_BASE_URL=https://api.openai.com/v1
# Server Configuration
SERVER_PORT=5000
SERVER_HOST=0.0.0.0
# Client Configuration
# API URL - Leave empty to auto-detect based on hostname (recommended)
# Or set explicitly to force a specific URL:
# - Local development: http://localhost:5000
# - Production domain: http://zero-health.fezzant.com:5000
REACT_APP_API_URL=
# Development URLs (for local development - not used in production)
REACT_APP_API_URL_DEV=http://localhost:5000
REACT_APP_CLIENT_URL_DEV=http://localhost:3000
# Production URLs (legacy - can be removed, kept for compatibility)
REACT_APP_API_URL_PROD=http://your-domain.com:5000
REACT_APP_CLIENT_URL_PROD=http://your-domain.com:3000
# Email Configuration
EMAIL_SERVICE=smtp.gmail.com
EMAIL_PORT=587
EMAIL_USER=your-email@gmail.com
EMAIL_PASSWORD=your-app-password
# File Upload Configuration
MAX_FILE_SIZE=10485760
UPLOAD_PATH=./uploads
# Security Configuration (for deliberate vulnerabilities)
ENABLE_RATE_LIMITING=false
ENABLE_CORS=true
ENABLE_HTTPS=false