-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.dev
More file actions
94 lines (80 loc) · 2.58 KB
/
.env.dev
File metadata and controls
94 lines (80 loc) · 2.58 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
# Development Environment Configuration
# Copy this file to .env and customize for your local setup
# ===========================================
# Docker Compose Settings
# ===========================================
COMPOSE_PROJECT_NAME=notifier-dev
# ===========================================
# Service Ports (Use unique ports to avoid conflicts)
# ===========================================
NOTIFIER_PORT=9002
# Database ports - offset to avoid conflicts with other services
POSTGRES_PORT=5434
REDIS_PORT=6381
# ===========================================
# Application Settings
# ===========================================
APP_ENV=development
SERVER_PORT=9002
SERVER_NAME=notifier-service
LOG_LEVEL=debug
# ===========================================
# PostgreSQL Database
# ===========================================
POSTGRES_HOST=notifier-postgres
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres_dev_password
POSTGRES_DB=notifier_db
POSTGRES_SSLMODE=disable
# ===========================================
# Redis Cache (Optional for notifier)
# ===========================================
REDIS_HOST=notifier-redis
REDIS_PASSWORD=
REDIS_DB=0
# ===========================================
# Email Provider (SMTP)
# ===========================================
SMTP_HOST=
SMTP_PORT=587
SMTP_USERNAME=
SMTP_PASSWORD=
SMTP_FROM_EMAIL=noreply@example.com
SMTP_FROM_NAME=Minisource
# ===========================================
# Email Provider (SendGrid)
# ===========================================
SENDGRID_API_KEY=
SENDGRID_FROM_EMAIL=noreply@example.com
SENDGRID_FROM_NAME=Minisource
# ===========================================
# SMS Provider (Twilio)
# ===========================================
TWILIO_ACCOUNT_SID=
TWILIO_AUTH_TOKEN=
TWILIO_FROM_NUMBER=
# ===========================================
# SMS Provider (Kavenegar - Iranian SMS)
# ===========================================
KAVENEGAR_API_KEY=
KAVENEGAR_SENDER=
# ===========================================
# Push Notifications (Firebase)
# ===========================================
FIREBASE_PROJECT_ID=
FIREBASE_CREDENTIALS_FILE=
# ===========================================
# gRPC Settings
# ===========================================
GRPC_PORT=9003
GRPC_MAX_MESSAGE_SIZE=4194304
# ===========================================
# Rate Limiting
# ===========================================
RATE_LIMIT_SMS_PER_MINUTE=10
RATE_LIMIT_EMAIL_PER_MINUTE=30
# ===========================================
# Observability
# ===========================================
OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317
OTEL_SERVICE_NAME=notifier-service