env bug fix
This commit is contained in:
parent
ac275a9259
commit
25ab570aab
1 changed files with 22 additions and 52 deletions
|
|
@ -1,70 +1,40 @@
|
|||
# ============================================================================
|
||||
# Lux Studio Frontend Environment Configuration
|
||||
# Lux Studio Backend - LOCAL Development Environment Configuration
|
||||
# ============================================================================
|
||||
# IMPORTANT: After changing this file for production, rebuild the frontend:
|
||||
# cd frontend
|
||||
# npm run build
|
||||
# Then upload frontend/dist/* to the server
|
||||
# For production settings, see .env.production
|
||||
# This file is used by setup.sh for local development
|
||||
# ============================================================================
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# Port Configuration
|
||||
# Backend Port Configuration
|
||||
# ----------------------------------------------------------------------------
|
||||
# Frontend development server port
|
||||
FRONTEND_PORT=3000
|
||||
# Backend API server port
|
||||
# Port on which the PHP backend server runs locally
|
||||
# Start backend with: php -S localhost:5015
|
||||
BACKEND_PORT=5015
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# Base Path Configuration
|
||||
# API Base Path (for video/file streaming URLs)
|
||||
# ----------------------------------------------------------------------------
|
||||
# Base path for the application (used in vite build)
|
||||
# LOCAL DEVELOPMENT: Use root path
|
||||
VITE_BASE_PATH=/
|
||||
#
|
||||
# PRODUCTION: Use subdirectory path
|
||||
# VITE_BASE_PATH=/lux-studio/
|
||||
# For LOCAL development: Use /lux-studio-back (matches Vite proxy)
|
||||
# For PRODUCTION: Set to your Apache proxy path (e.g., /lux-studio-back)
|
||||
API_BASE_PATH=/
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# Backend API URL (REQUIRED)
|
||||
# Google Gemini API Key (REQUIRED)
|
||||
# ----------------------------------------------------------------------------
|
||||
# LOCAL DEVELOPMENT (uncomment for local):
|
||||
VITE_API_URL=http://localhost:5015
|
||||
#
|
||||
# PRODUCTION (comment out for local - use Apache proxy):
|
||||
# VITE_API_URL=https://ai-sandbox.oliver.solutions/lux-studio-back
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# Google Gemini API Key
|
||||
# ----------------------------------------------------------------------------
|
||||
# Used for client-side prompt enhancement
|
||||
# Get your API key from: https://aistudio.google.com/app/apikey
|
||||
VITE_GEMINI_API_KEY=your-api-key-here
|
||||
# GEMINI_API_KEY=AIzaSyCMKLSJJYEx4c6-TtBACnjdULrLzsr_fts
|
||||
GEMINI_API_KEY=AIzaSyDs7EKdC9NLM5UqWlGUqeQO96TmSA-kos8
|
||||
# ----------------------------------------------------------------------------
|
||||
# Frontend URL for CORS (REQUIRED)
|
||||
# ----------------------------------------------------------------------------
|
||||
# IMPORTANT: No trailing slash!
|
||||
# Local development frontend URL
|
||||
FRONTEND_URL=http://localhost:3000
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# Azure AD / MSAL SSO Configuration
|
||||
# ----------------------------------------------------------------------------
|
||||
# Enable/Disable SSO authentication (true/false)
|
||||
VITE_SSO_ENABLED=true
|
||||
# Development credentials (use for local development)
|
||||
VITE_SSO_TENANT_ID=e519c2e6-bc6d-4fdf-8d9c-923c2f002385
|
||||
VITE_SSO_CLIENT_ID=15c0c4e2-bac0-4564-a3a6-c2717f00a6d9
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# SSO Redirect URI (REQUIRED if SSO enabled)
|
||||
# ----------------------------------------------------------------------------
|
||||
# LOCAL DEVELOPMENT (uncomment for local):
|
||||
VITE_SSO_REDIRECT_URI=http://localhost:3000
|
||||
#
|
||||
# PRODUCTION (comment out for local):
|
||||
# VITE_SSO_REDIRECT_URI=https://ai-sandbox.oliver.solutions/lux-studio
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# Environment Mode
|
||||
# ----------------------------------------------------------------------------
|
||||
# LOCAL DEVELOPMENT:
|
||||
NODE_ENV=development
|
||||
#
|
||||
# PRODUCTION (comment out for local):
|
||||
# NODE_ENV=production
|
||||
# Backend authentication is DISABLED - Frontend handles SSO
|
||||
SSO_ENABLED=false
|
||||
SSO_TENANT_ID=e519c2e6-bc6d-4fdf-8d9c-923c2f002385
|
||||
SSO_CLIENT_ID=15c0c4e2-bac0-4564-a3a6-c2717f00a6d9
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue