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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ATOM Platform Environment Configuration Template
|
| 2 |
+
# Copy this file to .env and fill in your actual values
|
| 3 |
+
|
| 4 |
+
# ===========================================
|
| 5 |
+
# Application Configuration
|
| 6 |
+
# ===========================================
|
| 7 |
+
ENVIRONMENT=development
|
| 8 |
+
SECRET_KEY=your-secret-key-here-change-in-production
|
| 9 |
+
DEBUG=True
|
| 10 |
+
LOG_LEVEL=INFO
|
| 11 |
+
|
| 12 |
+
# ===========================================
|
| 13 |
+
# Database Configuration
|
| 14 |
+
# ===========================================
|
| 15 |
+
DATABASE_URL=postgresql://user:password@localhost/atom_db
|
| 16 |
+
DATABASE_TEST_URL=postgresql://user:password@localhost/atom_test_db
|
| 17 |
+
|
| 18 |
+
# ===========================================
|
| 19 |
+
# Stripe Integration Configuration
|
| 20 |
+
# ===========================================
|
| 21 |
+
# Stripe API Keys (Get from https://dashboard.stripe.com/test/apikeys)
|
| 22 |
+
STRIPE_PUBLISHABLE_KEY=pk_test_your_publishable_key_here
|
| 23 |
+
STRIPE_SECRET_KEY=sk_test_your_secret_key_here
|
| 24 |
+
STRIPE_WEBHOOK_SECRET=whsec_your_webhook_secret_here
|
| 25 |
+
|
| 26 |
+
# Stripe OAuth Configuration (Get from https://dashboard.stripe.com/account/applications/settings)
|
| 27 |
+
STRIPE_CLIENT_ID=ca_your_client_id_here
|
| 28 |
+
STRIPE_CLIENT_SECRET=your_client_secret_here
|
| 29 |
+
STRIPE_REDIRECT_URI=http://localhost:3000/auth/stripe/callback
|
| 30 |
+
|
| 31 |
+
# ===========================================
|
| 32 |
+
# OAuth Configuration (Other Services)
|
| 33 |
+
# ===========================================
|
| 34 |
+
# Asana
|
| 35 |
+
ASANA_CLIENT_ID=your_asana_client_id
|
| 36 |
+
ASANA_CLIENT_SECRET=your_asana_client_secret
|
| 37 |
+
ASANA_REDIRECT_URI=http://localhost:3000/auth/asana/callback
|
| 38 |
+
|
| 39 |
+
# Notion
|
| 40 |
+
NOTION_CLIENT_ID=your_notion_client_id
|
| 41 |
+
NOTION_CLIENT_SECRET=your_notion_client_secret
|
| 42 |
+
NOTION_REDIRECT_URI=http://localhost:3000/auth/notion/callback
|
| 43 |
+
|
| 44 |
+
# Linear
|
| 45 |
+
LINEAR_CLIENT_ID=your_linear_client_id
|
| 46 |
+
LINEAR_CLIENT_SECRET=your_linear_client_secret
|
| 47 |
+
LINEAR_REDIRECT_URI=http://localhost:3000/auth/linear/callback
|
| 48 |
+
|
| 49 |
+
# GitHub
|
| 50 |
+
GITHUB_CLIENT_ID=your_github_client_id
|
| 51 |
+
GITHUB_CLIENT_SECRET=your_github_client_secret
|
| 52 |
+
GITHUB_REDIRECT_URI=http://localhost:3000/auth/github/callback
|
| 53 |
+
|
| 54 |
+
# Salesforce
|
| 55 |
+
SALESFORCE_CLIENT_ID=your_salesforce_client_id
|
| 56 |
+
SALESFORCE_CLIENT_SECRET=your_salesforce_client_secret
|
| 57 |
+
SALESFORCE_REDIRECT_URI=http://localhost:3000/auth/salesforce/callback
|
| 58 |
+
|
| 59 |
+
# ===========================================
|
| 60 |
+
# Server Configuration
|
| 61 |
+
# ===========================================
|
| 62 |
+
BACKEND_HOST=0.0.0.0
|
| 63 |
+
BACKEND_PORT=8000
|
| 64 |
+
FRONTEND_URL=http://localhost:3000
|
| 65 |
+
API_BASE_URL=http://localhost:8000
|
| 66 |
+
|
| 67 |
+
# ===========================================
|
| 68 |
+
# Security Configuration
|
| 69 |
+
# ===========================================
|
| 70 |
+
CORS_ORIGINS=http://localhost:3000,http://127.0.0.1:3000
|
| 71 |
+
ALLOWED_HOSTS=localhost,127.0.0.1
|
| 72 |
+
|
| 73 |
+
# ===========================================
|
| 74 |
+
# Redis Configuration (Optional)
|
| 75 |
+
# ===========================================
|
| 76 |
+
REDIS_URL=redis://localhost:6379/0
|
| 77 |
+
REDIS_CACHE_TTL=300
|
| 78 |
+
|
| 79 |
+
# ===========================================
|
| 80 |
+
# Email Configuration (Optional)
|
| 81 |
+
# ===========================================
|
| 82 |
+
SMTP_SERVER=smtp.gmail.com
|
| 83 |
+
SMTP_PORT=587
|
| 84 |
+
SMTP_USERNAME=your-email@gmail.com
|
| 85 |
+
SMTP_PASSWORD=your-app-password
|
| 86 |
+
EMAIL_FROM=noreply@yourapp.com
|
| 87 |
+
|
| 88 |
+
# ===========================================
|
| 89 |
+
# Monitoring & Analytics (Optional)
|
| 90 |
+
# ===========================================
|
| 91 |
+
SENTRY_DSN=your_sentry_dsn_here
|
| 92 |
+
GOOGLE_ANALYTICS_ID=your_ga_id_here
|
| 93 |
+
|
| 94 |
+
# ===========================================
|
| 95 |
+
# Feature Flags
|
| 96 |
+
# ===========================================
|
| 97 |
+
ENABLE_STRIPE_INTEGRATION=true
|
| 98 |
+
ENABLE_OAUTH_INTEGRATIONS=true
|
| 99 |
+
ENABLE_WEBHOOKS=true
|
| 100 |
+
ENABLE_EMAIL_NOTIFICATIONS=false
|
| 101 |
+
ENABLE_ANALYTICS=false
|
| 102 |
+
|
| 103 |
+
# ===========================================
|
| 104 |
+
# Development Settings
|
| 105 |
+
# ===========================================
|
| 106 |
+
# Set to true to use mock services instead of real API calls
|
| 107 |
+
USE_MOCK_SERVICES=false
|
| 108 |
+
# Set to true to log all API requests and responses
|
| 109 |
+
LOG_API_CALLS=true
|
| 110 |
+
# Set to true to enable detailed debugging information
|
| 111 |
+
VERBOSE_LOGGING=false
|
| 112 |
+
|
| 113 |
+
# ===========================================
|
| 114 |
+
# Slack Integration
|
| 115 |
+
# ===========================================
|
| 116 |
+
SLACK_CLIENT_ID=your_slack_client_id
|
| 117 |
+
SLACK_CLIENT_SECRET=your_slack_client_secret
|
| 118 |
+
SLACK_SIGNING_SECRET=your_slack_signing_secret
|
| 119 |
+
SLACK_BOT_TOKEN=xoxb-your-bot-token
|
| 120 |
+
|
| 121 |
+
# ===========================================
|
| 122 |
+
# HubSpot Integration
|
| 123 |
+
# ===========================================
|
| 124 |
+
HUBSPOT_ACCESS_TOKEN=your_hubspot_access_token
|
| 125 |
+
|
| 126 |
+
# ===========================================
|
| 127 |
+
# Google Calendar Integration
|
| 128 |
+
# ===========================================
|
| 129 |
+
GOOGLE_CALENDAR_CREDENTIALS=path/to/credentials.json
|
| 130 |
+
|
| 131 |
+
# ===========================================
|
| 132 |
+
# Zoom Integration
|
| 133 |
+
# ===========================================
|
| 134 |
+
ZOOM_API_KEY=your_zoom_api_key
|
| 135 |
+
ZOOM_API_SECRET=your_zoom_api_secret
|
| 136 |
+
ZOOM_WEBHOOK_SECRET=your_zoom_webhook_secret
|
| 137 |
+
ZOOM_CLIENT_ID=your_zoom_client_id
|
| 138 |
+
ZOOM_CLIENT_SECRET=your_zoom_client_secret
|
| 139 |
+
ZOOM_REDIRECT_URI=http://localhost:3000/auth/zoom/callback
|
| 140 |
+
|
| 141 |
+
# ===========================================
|
| 142 |
+
# Dropbox Integration
|
| 143 |
+
# ===========================================
|
| 144 |
+
DROPBOX_APP_KEY=your_dropbox_app_key
|
| 145 |
+
DROPBOX_APP_SECRET=your_dropbox_app_secret
|
| 146 |
+
DROPBOX_REDIRECT_URI=http://localhost:3000/auth/dropbox/callback
|
| 147 |
+
|
| 148 |
+
# ===========================================
|
| 149 |
+
# QuickBooks Integration
|
| 150 |
+
# ===========================================
|
| 151 |
+
QUICKBOOKS_CLIENT_ID=your_quickbooks_client_id
|
| 152 |
+
QUICKBOOKS_CLIENT_SECRET=your_quickbooks_client_secret
|
| 153 |
+
QUICKBOOKS_REDIRECT_URI=http://localhost:3000/auth/quickbooks/callback
|
| 154 |
+
QUICKBOOKS_COMPANY_ID=your_quickbooks_company_id
|
| 155 |
+
|
| 156 |
+
# ===========================================
|
| 157 |
+
# Zendesk Integration
|
| 158 |
+
# ===========================================
|
| 159 |
+
ZENDESK_SUBDOMAIN=your_zendesk_subdomain
|
| 160 |
+
ZENDESK_API_TOKEN=your_zendesk_api_token
|
| 161 |
+
ZENDESK_USERNAME=your_zendesk_username
|
| 162 |
+
ZENDESK_CLIENT_ID=your_zendesk_client_id
|
| 163 |
+
ZENDESK_CLIENT_SECRET=your_zendesk_client_secret
|
| 164 |
+
ZENDESK_REDIRECT_URI=http://localhost:3000/auth/zendesk/callback
|
| 165 |
+
|
| 166 |
+
# ===========================================
|
| 167 |
+
# Discord Integration
|
| 168 |
+
# ===========================================
|
| 169 |
+
DISCORD_BOT_TOKEN=your_discord_bot_token
|
| 170 |
+
DISCORD_CLIENT_ID=your_discord_client_id
|
| 171 |
+
DISCORD_CLIENT_SECRET=your_discord_client_secret
|
| 172 |
+
|
| 173 |
+
# ===========================================
|
| 174 |
+
# Microsoft Teams Integration
|
| 175 |
+
# ===========================================
|
| 176 |
+
TEAMS_CLIENT_ID=your_teams_client_id
|
| 177 |
+
TEAMS_CLIENT_SECRET=your_teams_client_secret
|
| 178 |
+
TEAMS_TENANT_ID=your_teams_tenant_id
|
| 179 |
+
|
| 180 |
+
# ===========================================
|
| 181 |
+
# WhatsApp Integration
|
| 182 |
+
# ===========================================
|
| 183 |
+
WHATSAPP_ACCESS_TOKEN=your_whatsapp_access_token
|
| 184 |
+
WHATSAPP_PHONE_NUMBER_ID=your_whatsapp_phone_number_id
|
| 185 |
+
|
| 186 |
+
# ===========================================
|
| 187 |
+
# Telegram Integration
|
| 188 |
+
# ===========================================
|
| 189 |
+
|
| 190 |
+
# ===========================================
|
| 191 |
+
# AGI Open Lux SDK (Computer Use Agent)
|
| 192 |
+
# ===========================================
|
| 193 |
+
OPENAGI_API_KEY=your_openagi_api_key
|
| 194 |
+
LUX_MODEL_MODE=thinker # Options: actor, thinker, tasker
|