-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathenv.sample
More file actions
80 lines (62 loc) · 3.17 KB
/
env.sample
File metadata and controls
80 lines (62 loc) · 3.17 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
# Fable API Environment Configuration
# Copy this file to env.dev, env.staging, or env.prod and fill in your values
# ==============================================================================
# Application Environment
# ==============================================================================
# Options: dev | staging | prod
export APP_ENV=dev
# ==============================================================================
# Main Database Configuration (MySQL)
# ==============================================================================
export DB_USER=your_mysql_user_here
export DB_PWD=your_mysql_password_here
# For running application locally (outside Docker)
export DB_CONN_URL=jdbc:mysql://localhost:3306
# For running application inside Docker container
export DB_CONN_URL_DOCKER=jdbc:mysql://host.docker.internal:3306
# ==============================================================================
# Analytics Database Configuration (PostgreSQL)
# ==============================================================================
export ANALYTICS_DB_USER=postgres
export ANALYTICS_DB_PWD=your_postgres_password_here
# For running application locally (outside Docker)
export ANALYTICS_DB_CONN_URL=jdbc:postgresql://localhost:5432/fable_analytics
# For running application inside Docker container
export ANALYTICS_DB_CONN_URL_DOCKER=jdbc:postgresql://host.docker.internal:5432/fable_analytics
# ==============================================================================
# AWS Configuration
# ==============================================================================
export AWS_ACCESS_KEY_ID=your_aws_access_key_id
export AWS_SECRET_ACCESS_KEY=your_aws_secret_access_key
# S3 Configuration
export AWS_S3_REGION=ap-south-1
export AWS_S3_ENDPOINT=https://s3.ap-south-1.amazonaws.com
export ASSET_BUCKET_NAME=your-s3-bucket-name
# Kinesis Firehose Configuration
export AWS_FIREHOSE_REGION=ap-south-1
export AWS_FIREHOSE_STREAM_PREFIX=your-firehose-stream-prefix
# ==============================================================================
# Payment Processing (Chargebee)
# ==============================================================================
export CB_SITE_NAME=your-chargebee-site-name
export CB_API_KEY=your_chargebee_api_key
# ==============================================================================
# Third-Party Integrations
# ==============================================================================
# Cobalt (Platform Integrations)
export COBALT_API_KEY=your_cobalt_api_key
# HubSpot (CRM Integration)
export HUBSPOT_CLIENT_SECRET=your_hubspot_client_secret
# AppSumo (Licensing Integration)
export APPSUMO_CLIENT_ID=your_appsumo_client_id
export APPSUMO_CLIENT_SECRET=your_appsumo_client_secret
# ==============================================================================
# Optional Configuration
# ==============================================================================
# Sentry (Error Tracking & Monitoring)
# Leave empty to disable Sentry
export SENTRY_DSN=
# Public Endpoint for Webhooks (required for local development with webhooks)
# Use ngrok or similar tool to expose your local server
# Example: https://abc123.ngrok-free.app
export PUBLIC_ENDPOINT=