forked from pingwu/maca
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
152 lines (120 loc) · 4.51 KB
/
.env.example
File metadata and controls
152 lines (120 loc) · 4.51 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
# AI Task Tracker for Teams - Environment Configuration Template
# Project 4: OAuth Authentication + Team Collaboration + Audit Trails
# ================================
# Google Sheets Configuration
# ================================
# Your Google Sheets ID (found in the URL)
# Example: https://docs.google.com/spreadsheets/d/1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms/edit
# The ID is: 1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms
GOOGLE_SHEETS_ID=your_google_sheets_id_here
# Path to Google Service Account credentials (relative to crew-service/)
GOOGLE_APPLICATION_CREDENTIALS=credentials/gcp-service-account.json
# ================================
# Google OAuth 2.0 Configuration
# ================================
# OAuth Client ID from Google Cloud Console
# Example: 123456789012-abcdef123456.apps.googleusercontent.com
GOOGLE_CLIENT_ID=your_oauth_client_id.googleusercontent.com
# OAuth Client Secret from Google Cloud Console
GOOGLE_CLIENT_SECRET=your_oauth_client_secret_here
# OAuth Redirect URI (must match Google Cloud Console configuration)
GOOGLE_REDIRECT_URI=http://localhost:8000/auth/callback
# OAuth Scopes (space-separated)
GOOGLE_OAUTH_SCOPES=openid email profile
# ================================
# JWT Token Configuration
# ================================
# Secret key for JWT signing (generate a strong random key)
# Example: openssl rand -hex 32
JWT_SECRET_KEY=your_super_secret_jwt_signing_key_at_least_32_chars_long
# JWT Algorithm
JWT_ALGORITHM=HS256
# Access token expiration (minutes)
JWT_ACCESS_TOKEN_EXPIRE_MINUTES=30
# Refresh token expiration (days)
JWT_REFRESH_TOKEN_EXPIRE_DAYS=7
# ================================
# Team Management Configuration
# ================================
# Default role for new team members (member, team_lead, guest)
DEFAULT_TEAM_ROLE=member
# Maximum team size (following two-pizza rule)
MAX_TEAM_SIZE=8
# Enable team invitations via email (true/false)
ENABLE_TEAM_INVITATIONS=true
# ================================
# AI/LLM Configuration
# ================================
# OpenAI API key for CrewAI agents
OPENAI_API_KEY=your_openai_api_key_here
# Optional: Anthropic API key for Claude models
ANTHROPIC_API_KEY=your_anthropic_api_key_here
# ================================
# Service Configuration
# ================================
# Service URLs (for development)
CREW_SERVICE_URL=http://crew-service:8001
API_SERVICE_URL=http://api-service:8000
REACT_APP_API_URL=http://localhost:8000
FRONTEND_URL=http://localhost:3000
# Allowed CORS origins (comma-separated)
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:3001
# ================================
# Security Configuration
# ================================
# Enable HTTPS redirect in production (true/false)
FORCE_HTTPS=false
# Session cookie settings
SESSION_COOKIE_SECURE=false
SESSION_COOKIE_HTTPONLY=true
SESSION_COOKIE_SAMESITE=lax
# CSRF protection (true/false)
ENABLE_CSRF_PROTECTION=true
# ================================
# Audit Trail Configuration
# ================================
# Enable audit logging (true/false)
ENABLE_AUDIT_TRAIL=true
# Audit log retention (days)
AUDIT_LOG_RETENTION_DAYS=365
# Enable real-time audit notifications (true/false)
ENABLE_AUDIT_NOTIFICATIONS=true
# ================================
# Development Configuration
# ================================
# Environment setting
ENVIRONMENT=development
# Enable React hot reloading in Docker
CHOKIDAR_USEPOLLING=true
# Debug mode (enables additional logging and error details)
DEBUG_MODE=true
# ================================
# Logging Configuration
# ================================
# Log level (DEBUG, INFO, WARNING, ERROR)
LOG_LEVEL=INFO
# Redact user inputs from logs (true/false)
LOG_REDACT_INPUTS=true
# Enable authentication logs (true/false)
LOG_AUTH_EVENTS=true
# Enable audit trail logs (true/false)
LOG_AUDIT_EVENTS=true
# ================================
# Email Configuration (Optional)
# ================================
# Email service for team invitations (optional)
# SMTP_HOST=smtp.gmail.com
# SMTP_PORT=587
# SMTP_USERNAME=your_email@gmail.com
# SMTP_PASSWORD=your_app_password
# EMAIL_FROM=your_email@gmail.com
# ================================
# Production Overrides
# ================================
# Uncomment and modify for production deployment
# ENVIRONMENT=production
# DEBUG_MODE=false
# FORCE_HTTPS=true
# SESSION_COOKIE_SECURE=true
# LOG_LEVEL=WARNING
# LOG_REDACT_INPUTS=true