-
Notifications
You must be signed in to change notification settings - Fork 91
Expand file tree
/
Copy path.env.prod
More file actions
91 lines (77 loc) · 3.39 KB
/
.env.prod
File metadata and controls
91 lines (77 loc) · 3.39 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# Common Variables
# NOTE: Please do not change the BACKEND_PORT
BACKEND_PORT=3000
BACKEND_URL=http://localhost:3000 # localhost needs to be replaced by ip
FRONTEND_PORT=8080
FRONTEND_URL=http://localhost:8080 # localhost needs to be replaced by ip
HOST=localhost
LLM_EVALS_PORT=8000
NODE_ENV=production
# NOTE: Please do not change this unless the database is hosted on a different server and you want to use SSL for the connection
DB_SSL=false
MULTI_TENANCY_ENABLED=false
# Database
DB_PORT=5432
LOCAL_DB_PORT=5433
DB_HOST=localhost
DB_NAME=verifywise
DB_USER=verifywise-prod
DB_PASSWORD=verifywise
# Redis
REDIS_HOST=redis
REDIS_PORT=6379
# Super-Admin Credentials (used during migration to seed the super-admin user)
SUPERADMIN_EMAIL=admin@verifywise.com
SUPERADMIN_PASSWORD=ChangeMe!Str0ng
# Backend Settings
MOCK_DATA_ON=false
JWT_SECRET=aacc459503e937c73ac3c4ebd874578a81b95861e83cdd923eeca8f7dadffea9d026e1581ee966a7fc4a74a8c6126ddec75c2c662ed7777a90e3aefb00ef1a87
REFRESH_TOKEN_SECRET=e628d7938c76308774cecf87dcb9bee6b8cae80ed2d20731ef94e211cf9c9b82b4632b55cead3632d59dd72d7e0d28f0afe125bfeaa0ea82b548be86c0de179d
# Encryption Settings
ENCRYPTION_ALGORITHM=YOUR_ENCRYPTION_ALGORITHM
ENCRYPTION_PASSWORD=YOUR_ENCRYPTION_PASSWORD
# ENCRYPTION_KEY is used for encrypting/decrypting LLM API keys (must be consistent across deployments)
# If not set, defaults to a hardcoded key. For production, set a unique 32+ character key.
# WARNING: Changing this after API keys are saved will make them unreadable - re-save keys after changing.
# ENCRYPTION_KEY=your-unique-32-character-key-here
SLACK_CLIENT_ID=YOUR_SLACK_CLIENT_ID
SLACK_CLIENT_SECRET=YOUR_SLACK_CLIENT_SECRET
SLACK_URL=https://slack.com/oauth/v2/authorize
SLACK_API_URL=https://slack.com/api/oauth.v2.access
SLACK_USER_OAUTH_TOKEN=YOUR_SLACK_USER_OAUTH_TOKEN
SLACK_BOT_TOKEN=YOUR_SLACK_BOT_TOKEN
# Email Configuration
# EMAIL_PROVIDER: Choose email service provider (required)
# Options: "resend" (default), "smtp", "exchange-online", "exchange-onprem", "amazon-ses"
EMAIL_PROVIDER=exchange-online
EMAIL_ID=noreply@company.com
# Resend Provider Configuration (when EMAIL_PROVIDER=resend)
# Get your API key from: https://resend.com/api-keys
RESEND_API_KEY=your-resend-api-key
# Generic SMTP Provider Configuration (when EMAIL_PROVIDER=smtp)
# For custom SMTP servers, Gmail, or other providers
# SMTP_HOST=smtp.your-server.com
# SMTP_PORT=587
# SMTP_USER=your-email@company.com
# SMTP_PASS="your-password"
# SMTP_SECURE=false
# Exchange Online (Office 365) Configuration (when EMAIL_PROVIDER=exchange-online)
# Most common choice for enterprises using Microsoft 365
# EXCHANGE_ONLINE_USER=noreply@company.onmicrosoft.com
# EXCHANGE_ONLINE_PASS="your-app-password-here"
# EXCHANGE_ONLINE_TENANT_ID=your-tenant-id-optional
# On-Premises Exchange Server Configuration (when EMAIL_PROVIDER=exchange-onprem)
# For organizations with self-hosted Exchange servers
# EXCHANGE_ONPREM_HOST=mail.company.com
# EXCHANGE_ONPREM_PORT=587
# EXCHANGE_ONPREM_USER=your-username
# EXCHANGE_ONPREM_PASS="your-password"
# EXCHANGE_ONPREM_DOMAIN=COMPANY
# EXCHANGE_ONPREM_SECURE=false
# Amazon SES Configuration (when EMAIL_PROVIDER=amazon-ses)
# Popular choice for SaaS applications and enterprises on AWS
# AWS_SES_REGION=us-east-1
# AWS_SES_ACCESS_KEY_ID=your-access-key-id
# AWS_SES_SECRET_ACCESS_KEY=your-secret-access-key
# AWS_SES_API_VERSION=2010-12-01
# SES_CONFIGURATION_SET=your-configuration-set-optional