Files
fitfoot/env.production.example
g-butandClaude Opus 4.6 ea932d9ef8 feat(docker): add containerization and production deployment config
- Add Dockerfiles for medusa, web, and sanity services
- Add .dockerignore files to optimize build context
- Add docker-compose.yml for local development (PostgreSQL, Redis)
- Add docker-compose.prod.yml for production with resource limits
- Add nginx reverse proxy config with gzip and SSL support
- Add env.production.example as template for production env vars

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 16:35:03 +01:00

46 lines
1.3 KiB
Plaintext

# FitFoot Production Environment Variables
# Copy this file to .env.production and fill in your actual values
# Database Configuration
POSTGRES_DB=fitfoot
POSTGRES_USER=your_db_user
POSTGRES_PASSWORD=your_secure_db_password
DATABASE_URL=postgresql://your_db_user:your_secure_db_password@db:5432/fitfoot
# Redis Configuration
REDIS_URL=redis://:your_redis_password@redis:6379
REDIS_PASSWORD=your_redis_password
# JWT Configuration
JWT_SECRET=your-super-secret-jwt-key-min-32-chars
COOKIE_SECRET=your-super-secret-cookie-key-min-32-chars
# Medusa Backend
NEXT_PUBLIC_MEDUSA_BACKEND_URL=https://your-domain.com
# Supabase Configuration
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-supabase-anon-key
# Sanity Studio Configuration
SANITY_STUDIO_PROJECT_ID=your-sanity-project-id
SANITY_STUDIO_DATASET=production
# SSL Configuration (for nginx)
SSL_CERT_PATH=/etc/nginx/ssl/cert.pem
SSL_KEY_PATH=/etc/nginx/ssl/key.pem
# Monitoring & Logging
SENTRY_DSN=https://your-sentry-dsn@sentry.io/project-id
SENTRY_ENVIRONMENT=production
# Email Configuration (if needed)
SMTP_HOST=your-smtp-host
SMTP_PORT=587
SMTP_USER=your-smtp-user
SMTP_PASSWORD=your-smtp-password
# Payment Configuration (if using Stripe/PayPal)
STRIPE_PUBLISHABLE_KEY=pk_live_your_stripe_publishable_key
STRIPE_SECRET_KEY=sk_live_your_stripe_secret_key