-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
executable file
·45 lines (35 loc) · 1.13 KB
/
.env.example
File metadata and controls
executable file
·45 lines (35 loc) · 1.13 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
# Ganaka Expense Tracker - Environment Configuration
# Copy this file to .env and update with your actual values
# Database Configuration
DATABASE_URL=postgres://ganaka:ganaka123@localhost:5432/ganaka
# Redis Configuration
REDIS_URL=redis://localhost:6379
# NATS Configuration
NATS_URL=nats://localhost:4222
# JWT Configuration
JWT_SECRET=your-super-secret-jwt-key-change-in-production-this-should-be-at-least-32-characters-long
# Email Configuration (for Notification Service)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USERNAME=your-email@gmail.com
SMTP_PASSWORD=your-app-password
FROM_EMAIL=noreply@ganaka.com
# SMS Configuration (for Notification Service)
TWILIO_ACCOUNT_SID=your-twilio-account-sid
TWILIO_AUTH_TOKEN=your-twilio-auth-token
TWILIO_FROM_NUMBER=+1234567890
# Logging Configuration
RUST_LOG=info
# Development/Production Mode
ENVIRONMENT=development
# Service Ports (for local development)
AUTH_SERVICE_PORT=3001
USER_SERVICE_PORT=3002
EXPENSE_SERVICE_PORT=3003
CATEGORY_SERVICE_PORT=3004
REPORT_SERVICE_PORT=3005
NOTIFICATION_SERVICE_PORT=3006
DASHBOARD_SERVICE_PORT=3007
# Monitoring
PROMETHEUS_PORT=9090
GRAFANA_PORT=3000