Configure for self-hosted deployment
- Add environment variable support for Supabase and Pakasir configurations - Create Docker configuration with Nginx for production deployment - Add .env.example with all required environment variables - Remove hardcoded URLs from Supabase client and Checkout component - Add Docker and Nginx configuration files for Coolify deployment 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
25
.env.example
Normal file
25
.env.example
Normal file
@@ -0,0 +1,25 @@
|
||||
# Supabase Configuration
|
||||
VITE_SUPABASE_URL=your_supabase_url_here
|
||||
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key_here
|
||||
VITE_SUPABASE_EDGE_URL=your_supabase_url_here/functions/v1
|
||||
|
||||
# Application Configuration
|
||||
VITE_APP_NAME=Access Hub
|
||||
VITE_APP_ENV=production
|
||||
|
||||
# Third-party Integrations
|
||||
VITE_PAKASIR_API_KEY=your_pakasir_api_key_here
|
||||
VITE_PAKASIR_PROJECT_SLUG=your_pakasir_project_slug
|
||||
|
||||
# Payment Configuration (if needed)
|
||||
# VITE_MIDTRANS_CLIENT_KEY=your_midtrans_client_key
|
||||
|
||||
# Email Configuration (for edge functions)
|
||||
# These will be set in Supabase Edge Function secrets
|
||||
# SMTP_HOST=your_smtp_host
|
||||
# SMTP_USER=your_smtp_user
|
||||
# SMTP_PASS=your_smtp_password
|
||||
|
||||
# Other Configuration
|
||||
VITE_ENABLE_ANALYTICS=false
|
||||
VITE_DEBUG=false
|
||||
Reference in New Issue
Block a user