- Add README instructions for deploying the full report system through local Docker port 4002, frpc, Nginx Proxy Manager, and sstwbg.example.com. - Document required HTTPS, WebSocket, request-size, timeout, health-check, login, AI, video-frame, and speech verification steps. - Add TRUST_PROXY support so secure session cookies work behind public HTTPS reverse proxies. - Preserve upstream X-Forwarded-Proto through the container Nginx API proxy. - Allow Docker Compose session and trust-proxy variables to be overridden for public deployments. - Update deployment and Docker docs with the same public reverse-proxy guidance.
16 lines
547 B
Plaintext
16 lines
547 B
Plaintext
# Backend API development defaults.
|
|
API_PORT=3100
|
|
API_BODY_LIMIT="100mb"
|
|
CORS_ORIGIN="http://localhost:3001,http://localhost:4002,https://localhost:4443"
|
|
DATABASE_URL="postgresql://surclaw:surclaw_dev_password@localhost:5433/surclaw?schema=public"
|
|
SESSION_SECRET="change-me-in-production"
|
|
SESSION_COOKIE_SECURE="false"
|
|
TRUST_PROXY="false"
|
|
FILE_STORAGE_DIR="./uploads"
|
|
RUN_DB_MIGRATIONS="true"
|
|
RUN_DB_SEED="true"
|
|
DOCKER_STARTUP_RETRIES=30
|
|
DOCKER_STARTUP_RETRY_DELAY=2
|
|
VITE_API_PROXY_TARGET="http://localhost:3100"
|
|
VITE_ENABLE_LOCAL_FALLBACK="true"
|