- deploy.sh: one-command deploy script (--init for first time, bare for updates) - docker-compose.prod.yml: production stack with nginx, multi-worker uvicorn, no volume mounts for code - nginx/nginx.conf: reverse proxy with rate limiting, WebSocket support, static asset caching - Fix login to use real backend API instead of mock localStorage tokens - Add auth guard to AppShell (prevents flash-of-content on unauthenticated routes) - JWT claims decoded client-side for user info (no extra /me call needed) - Switch logo from missing .jpeg to .svg - Frontend API URL defaults to same-origin (works behind nginx without CORS) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
19 lines
343 B
Text
19 lines
343 B
Text
# Database
|
|
DATABASE_URL=postgresql+asyncpg://transcreation:transcreation@db:5432/transcreation
|
|
|
|
# Redis
|
|
REDIS_URL=redis://redis:6379/0
|
|
|
|
# Anthropic
|
|
ANTHROPIC_API_KEY=sk-ant-REPLACE_ME
|
|
|
|
# Auth
|
|
JWT_SECRET_KEY=CHANGE_ME_TO_A_RANDOM_SECRET
|
|
JWT_ALGORITHM=HS256
|
|
JWT_EXPIRY_HOURS=8
|
|
|
|
# Storage
|
|
STORAGE_ROOT=/storage
|
|
|
|
# LLM
|
|
LLM_MODEL=claude-sonnet-4-6
|