mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-18 21:41:23 +02:00
- Backend: Replace Supabase storage with S3/local hybrid StorageService - Backend: Add rate-limits endpoint to ProfileController - Mobile: Update RateLimitIndicator to use backend API - Mobile: Remove @supabase/supabase-js dependency - Shared: Remove queue.ts and supabase.ts (no longer needed) - Update environment configuration for S3 storage 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
31 lines
797 B
Text
31 lines
797 B
Text
# Server
|
|
PORT=3003
|
|
NODE_ENV=development
|
|
BACKEND_URL=http://localhost:3003
|
|
|
|
# Database
|
|
DATABASE_URL=postgresql://picture:password@localhost:5432/picture
|
|
|
|
# Mana Core Auth
|
|
MANA_CORE_AUTH_URL=http://localhost:3001
|
|
|
|
# Storage Configuration
|
|
# Options: 'local' (default) or 's3' (for Hetzner Object Storage)
|
|
STORAGE_MODE=local
|
|
|
|
# Local Storage (for development)
|
|
LOCAL_STORAGE_PATH=./uploads
|
|
|
|
# S3/Hetzner Object Storage (for production)
|
|
# S3_ENDPOINT=fsn1.your-objectstorage.com
|
|
# S3_REGION=eu-central-1
|
|
# S3_ACCESS_KEY=your-access-key
|
|
# S3_SECRET_KEY=your-secret-key
|
|
# S3_BUCKET=picture-uploads
|
|
# STORAGE_PUBLIC_URL=https://picture-uploads.fsn1.your-objectstorage.com
|
|
|
|
# Replicate API
|
|
REPLICATE_API_TOKEN=r8_xxx
|
|
|
|
# Webhook (for Replicate Callbacks in Production)
|
|
WEBHOOK_BASE_URL=http://localhost:3003
|