- Update Azure redirect URI and CORS origins to optical-dev - Remove root requirement from deploy.sh, use chmod instead of chown - Make CORS_ORIGINS configurable via env var in docker-compose - Add Apache VirtualHost config for optical-dev.oliver.solutions Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
28 lines
758 B
Text
28 lines
758 B
Text
# Database
|
|
DATABASE_URL=postgresql+asyncpg://olivas:olivas@localhost:5453/olivas
|
|
|
|
# Storage
|
|
UPLOAD_DIR=./data/uploads
|
|
|
|
# ML Model
|
|
DEVICE=auto # auto | cpu | cuda
|
|
|
|
# CORS
|
|
CORS_ORIGINS=https://optical-dev.oliver.solutions
|
|
|
|
# Server
|
|
BACKEND_HOST=0.0.0.0
|
|
BACKEND_PORT=8000
|
|
|
|
# AI Design Analysis (optional — leave empty to disable)
|
|
ANTHROPIC_API_KEY=
|
|
|
|
# Azure AD SSO (set AZURE_AUTH_ENABLED=false to disable)
|
|
AZURE_AUTH_ENABLED=true
|
|
AZURE_TENANT_ID=e519c2e6-bc6d-4fdf-8d9c-923c2f002385
|
|
AZURE_CLIENT_ID=9079054c-9620-4757-a256-23413042f1ef
|
|
|
|
# Frontend Azure AD (Vite env vars)
|
|
VITE_AZURE_TENANT_ID=e519c2e6-bc6d-4fdf-8d9c-923c2f002385
|
|
VITE_AZURE_CLIENT_ID=9079054c-9620-4757-a256-23413042f1ef
|
|
VITE_AZURE_REDIRECT_URI=https://optical-dev.oliver.solutions/olivas
|