Spaces:
Sleeping
Sleeping
| # SwiftOps Backend - Environment Configuration for Hugging Face Spaces | |
| # Copy these to your HF Space Secrets | |
| # Application Settings (REQUIRED) | |
| APP_NAME=SwiftOps API | |
| ENVIRONMENT=production | |
| DEBUG=False | |
| SECRET_KEY=your-secret-key-here-generate-a-strong-random-key # REQUIRED - Generate a strong random key | |
| # Security & Access Control (REQUIRED) | |
| PLATFORM_ADMIN_EMAIL=your-new-email@company.com # REQUIRED - Email for platform admin OTP verification | |
| # Database - Supabase PostgreSQL (REQUIRED) | |
| # Get these from your Supabase project settings | |
| DATABASE_URL=postgresql://postgres:[YOUR-PASSWORD]@db.[YOUR-PROJECT-REF].supabase.co:5432/postgres | |
| SUPABASE_URL=https://[YOUR-PROJECT-REF].supabase.co | |
| SUPABASE_KEY=your-anon-public-key | |
| SUPABASE_SERVICE_KEY=your-service-role-secret-key | |
| # Application Domain (REQUIRED - for invitation links, documents, etc.) | |
| APP_DOMAIN=swiftops.atomio.tech | |
| APP_PROTOCOL=https | |
| # Redis Cache (REQUIRED) | |
| REDIS_URL=redis://default:your-password@your-redis-host:port | |
| # User Invitation Configuration | |
| INVITATION_TOKEN_EXPIRY_HOURS=72 | |
| # Password Reset Configuration | |
| PASSWORD_RESET_TOKEN_EXPIRY_HOURS=1 | |
| # Notification Services | |
| RESEND_API_KEY=your-resend-key | |
| RESEND_FROM_EMAIL=swiftops@atomio.tech | |
| WASENDER_API_KEY=your-wasender-key | |
| WASENDER_PHONE_NUMBER=+254xxxxxxxxx | |
| WASENDER_API_URL=https://www.wasenderapi.com/api | |
| # Optional: External Services (can be added later) | |
| # CLOUDINARY_CLOUD_NAME=your-cloud-name | |
| # CLOUDINARY_API_KEY=your-api-key | |
| # CLOUDINARY_API_SECRET=your-api-secret | |
| # GOOGLE_MAPS_API_KEY=your-google-maps-key | |
| # SENTRY_DSN=your-sentry-dsn | |