-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
74 lines (62 loc) · 1.85 KB
/
.env.example
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
# Application Configuration
PORT=3000
NODE_ENV=development
MONGODB_URI=mongodb://localhost:27017/taskmanagement
JWT_SECRET=your-secret-key-change-this
LOG_LEVEL=info
ALLOWED_ORIGINS=http://localhost:3000
CORS_ORIGIN=http://localhost:3000
# Redis Cache Configuration
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=your-redis-password
REDIS_DB=0
# External Services Configuration
# Email Service
EMAIL_SERVICE=smtp
EMAIL_HOST=smtp.example.com
EMAIL_PORT=587
EMAIL_PASS=your-email-password
# Payment Gateway
PAYMENT_GATEWAY=stripe
PAYMENT_API_KEY=your-stripe-api-key
PAYMENT_WEBHOOK_SECRET=your-stripe-webhook-secret
# Storage Configuration
STORAGE_PROVIDER=aws # Change to 'gcs' if using Google Cloud Storage
# AWS S3 Configuration
AWS_ACCESS_KEY_ID=your-aws-access-key-id
AWS_SECRET_ACCESS_KEY=your-aws-secret-access-key
AWS_REGION=us-east-1
AWS_S3_BUCKET=your-s3-bucket-name
# Google Cloud Storage Configuration
GCS_PROJECT_ID=your-gcs-project-id
GCS_KEY_FILE=path/to/your/gcs-keyfile.json
GCS_BUCKET=your-gcs-bucket-name
# Observability Configuration
# Logging
LOG_FORMAT=json
ELASTICSEARCH_NODE=http://localhost:9200
ELASTICSEARCH_INDEX=application-logs
# Metrics
METRICS_PORT=9100
METRICS_PATH=/metrics
# Tracing
SERVICE_NAME=task-management-service
TRACING_SAMPLING_RATE=0.1
JAEGER_ENDPOINT=http://localhost:14268/api/traces
# RabbitMQ Configuration
RABBITMQ_HOST=localhost
RABBITMQ_PORT=5672
RABBITMQ_USER=guest
RABBITMQ_PASSWORD=guest
RABBITMQ_VHOST=/
# Optional: Uncomment and set these if using the alternative RabbitMQ configuration
# RABBITMQ_URL=amqp://localhost
# RABBITMQ_EXCHANGE=task_exchange
# RABBITMQ_TASK_QUEUE=task_queue
# RABBITMQ_NOTIFICATION_QUEUE=notification_queue
# Optional: Kafka Configuration (uncomment if using Kafka)
# KAFKA_CLIENT_ID=task-management-service
# KAFKA_BROKERS=localhost:9092
# KAFKA_TOPIC=task-events