41 lines
1.9 KiB
Text
41 lines
1.9 KiB
Text
# ============================================================================
|
|
# Lux Studio Backend Environment Configuration
|
|
# ============================================================================
|
|
# Copy this file to .env and configure for your environment
|
|
# For production settings, see .env.production
|
|
# ============================================================================
|
|
|
|
# ----------------------------------------------------------------------------
|
|
# Backend Port Configuration
|
|
# ----------------------------------------------------------------------------
|
|
# Port on which the PHP dev server runs locally
|
|
# Start backend with: php -S localhost:${BACKEND_PORT}
|
|
# NOTE: Not used in production — Apache serves PHP directly via mod_php
|
|
BACKEND_PORT=5015
|
|
|
|
# ----------------------------------------------------------------------------
|
|
# Google Gemini API Key (REQUIRED)
|
|
# ----------------------------------------------------------------------------
|
|
# Get your API key from: https://aistudio.google.com/app/apikey
|
|
GEMINI_API_KEY=your-api-key-here
|
|
|
|
# ----------------------------------------------------------------------------
|
|
# Frontend URL for CORS (REQUIRED)
|
|
# ----------------------------------------------------------------------------
|
|
# IMPORTANT: No trailing slash!
|
|
# This allows the frontend to make API calls to the backend
|
|
#
|
|
# LOCAL DEVELOPMENT (uncomment for local):
|
|
FRONTEND_URL=http://localhost:3000
|
|
#
|
|
# PRODUCTION (comment out for local):
|
|
# FRONTEND_URL=https://ai-sandbox.oliver.solutions/lux-studio
|
|
|
|
# ----------------------------------------------------------------------------
|
|
# Azure AD / MSAL SSO Configuration
|
|
# ----------------------------------------------------------------------------
|
|
# Backend authentication is DISABLED - Frontend handles SSO
|
|
# The backend accepts all requests without token validation
|
|
SSO_ENABLED=false
|
|
SSO_TENANT_ID=e519c2e6-bc6d-4fdf-8d9c-923c2f002385
|
|
SSO_CLIENT_ID=15c0c4e2-bac0-4564-a3a6-c2717f00a6d9
|