Repository navigation
Expand file tree
/
Copy path.env
More file actions
115 lines (91 loc) · 3.74 KB
/
Copy path.env
File metadata and controls
115 lines (91 loc) · 3.74 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
############################################
# Application Configuration
############################################
# Name of the backend service
APP_NAME="Jobstack Provider Backend"
# Authentication (Better Auth)
# - BETTER_AUTH_SECRET: Secret used by Better Auth for token signing (keep safe, do not commit).
# - BETTER_AUTH_URL: Endpoint where auth APIs are exposed.
# Use http://localhost:<BACKEND_PORT>/api/v1/auth for local dev.
BETTER_AUTH_SECRET=enter_better_auth_secret
BETTER_AUTH_URL=http://localhost:3001/api/v1/auth
############################################
# Database (PostgreSQL)
############################################
# Credentials for PostgreSQL
POSTGRES_USER=enter_postgres_user
POSTGRES_PASSWORD=enter_postgres_password
POSTGRES_DB=enter_postgres_db_name
# Local database port (useful if multiple Postgres instances are running)
DATABASE_PORT=5432
# Local database connection string
# Used by Drizzle for migrations/generate/push/studio
DATABASE_LOCAL_URL=postgres://postgresdb:mypassword@127.0.0.1:5432/postgresdb
############################################
# Caching (Redis)
############################################
# Redis port exposed locally (adjust if multiple Redis instances are running)
REDIS_PORT=6379
# Internal Redis Password (used by services inside docker-compose)
REDIS_PASSWORD=enter_redis_password
############################################
# SMS Service (MSG91)
############################################
# - MSG91_AUTH_KEY: Authentication key from MSG91 dashboard
# - MSG91_TEMPLATE_ID: Flow/template ID for SMS
MSG91_AUTH_KEY=enter_msg91_auth_key
MSG91_TEMPLATE_ID=enter_msg91_template_id
############################################
# Whatsapp Service (twilio)
############################################
TWILIO_WHATSAPP_NUMBER=enter_twilio_whatsapp_number
TWILIO_MESSAGING_SERVICE_SID=enter_twilio_messaging_service_sid
TWILIO_AUTH_TOKEN=enter_twilio_auth_token
TWILIO_ACCOUNT_SID=enter_twilio_account_sid
TWILIO_CONTENT_SID_DIALFLOW_PROVIDER=enter_twilio_content_sid
TWILIO_CONTENT_SID_APPLICATION_STATUS=enter_twilio_content_sid_for_application_status
TWILIO_CONTENT_SID_SHORTLISTED=enter_twilio_content_sid_for_shortlisted
TWILIO_CONTENT_SID_NEW_APPLICATION=enter_twilio_content_sid_for_new_application
############################################
# Email Services
############################################
# AWS SES (for production email sending)
SMTP_AWS_SES=false
AWS_SECRET_ACCESS_KEY=enter_aws_secret
AWS_ACCESS_KEY_ID=enter_aws_access_key_id
AWS_REGION=enter_aws_region
# Gmail SMTP (for development/testing email sending)
# Requires Gmail App Password (not account password)
SMTP_GMAIL=true
GMAIL_USER=enter_gmail_user_email
GMAIL_PASS=enter_gmail_app_password
NOTIFICATION_SERVICE_ENDPOINT='service_endpoint'
NOTIFICATION_SERVICE_KEY_ID='Id_of_the_secret_key'
NOTIFICATION_SERVICE_SECRET='service_secret'
############################################
# Storage Services
############################################
# GCP Storage Service
GCP_PROJECT_ID=enter_project_id
STORAGE_BASE_URL='https://storage.googleapis.com'
############################################
# Server Configuration
############################################
# Local port exposed for the backend
BACKEND_PORT=3001
# Public server endpoint (e.g., https://api.example.com)
SERVER_ENDPOINT=enter_server_endpoint
# Node environment (production, development, test)
NODE_ENV=production
# Feature Flags
# Enable/disable email logging for debug
MAIL_LOG="false"
# Enable/disable general logging for debug
LOG_ACTIVITY="false"
# Enable/disable whatsapp notification messaging
SEND_WHATSAPP_NOTIFICATION="true"
#SSO service for Studio
SSO_ENABLED=true
SSO_ENDPOINT=enter_studio_endpoint
SSO_ACCESS_TOKEN=enter_studio_auth_token
SSO_TIMEOUT_MS=enter_timeout_seconds