-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_env.example
More file actions
48 lines (45 loc) · 2.14 KB
/
dot_env.example
File metadata and controls
48 lines (45 loc) · 2.14 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
# VOC Analyst Environment Variables
# Copy this file to .env and fill in your values:
# cp dot_env.example .env
# =============================================================================
# Required: Slack Credentials
# Get these from https://api.slack.com/apps > Your App > Basic Information
# =============================================================================
SLACK_BOT_TOKEN=xoxb-your-bot-token
SLACK_SIGNING_SECRET=your-signing-secret
# =============================================================================
# Optional: AWS Configuration (defaults are set in justfile)
# =============================================================================
# AWS_PROFILE=default
# AWS_REGION=ap-northeast-2
# =============================================================================
# Custom Lambda Environment Variables
# Add LAMBDA_* prefixed variables here, then run: just sync-env
#
# Example:
# LAMBDA_DATABASE_URL=postgresql://user:pass@host:5432/db
# LAMBDA_OPENAI_API_KEY=sk-...
# LAMBDA_FEATURE_FLAG=true
#
# After running `just sync-env`:
# - template.yaml will have new Parameters (DatabaseUrl, OpenaiApiKey, FeatureFlag)
# - Lambda functions will have environment variables (DATABASE_URL, OPENAI_API_KEY, FEATURE_FLAG)
# - deploy_stack.sh will pass these as CloudFormation parameters
# =============================================================================
# LAMBDA_YOUR_VAR_NAME=your-value
#
# Weekly VOC (BigQuery)
# LAMBDA_VOC_BIGQUERY_PROJECT=wanted-data
# LAMBDA_VOC_BIGQUERY_TABLE=wanted-data.wanted_ml.zendesk_voc_classified
# LAMBDA_VOC_BIGQUERY_START_DATE=2025-01-01
# LAMBDA_VOC_BIGQUERY_LOCATION=asia-northeast3
# LAMBDA_VOC_GOOGLE_CREDENTIALS_SSM_KEY=/DATA/WWW/GOOGLE/SERVICE_CREDENTIALS
# LAMBDA_VOC_BIGQUERY_CREDENTIALS_JSON={"type":"service_account",...}
# LAMBDA_VOC_SLACK_CHANNEL=#voc-alerts
#
# LaaS (optional, for VOC follow-up summaries)
# LAMBDA_LAAS_API_KEY=your-laas-api-key
# LAMBDA_LAAS_BASE_URL=https://api-laas.wanted.co.kr
# LAMBDA_LAAS_MODEL=gpt-4o-mini
# LAMBDA_LAAS_PRESET_HASH=90571f07e6b60e047620162ecc29b423dba8280aba60dba503aac082082ad0c4
# LAMBDA_LAAS_API_KEY_SSM_KEY=/DATA/PIPELINE/API_KEY/OPENAI