# ============================================================================= # VEZA - Remote development on R720 (Cursor Remote-SSH + port forwarding) # ============================================================================= # Copy to .env when developing on the R720: # cp env.remote-r720.example .env # # With Cursor Remote-SSH, the browser on your laptop accesses localhost:5173, # localhost:18080, etc. — Cursor forwards these to the R720. Use localhost # as APP_DOMAIN so CORS and URLs work correctly. # ============================================================================= # Domain: localhost (browser on laptop uses port forwarding) APP_DOMAIN=localhost # Docker Compose - host port mappings (unchanged) PORT_POSTGRES=15432 PORT_REDIS=16379 PORT_RABBITMQ_AMQP=15672 PORT_RABBITMQ_MGMT=25672 PORT_BACKEND=18080 PORT_STREAM=18082 PORT_WEB=5173 # Database (backend on R720 host connects to Docker containers) DB_USER=veza DB_PASS=devpassword DB_NAME=veza DB_HOST=localhost # Connection strings (host → Docker containers) DATABASE_URL=postgres://veza:devpassword@localhost:15432/veza?sslmode=disable REDIS_URL=redis://localhost:16379 RABBITMQ_URL=amqp://veza:devpassword@localhost:15672/ # Frontend URL (OAuth redirect, etc.) FRONTEND_URL=http://localhost:5173 # CORS: must include localhost (browser origin via port forwarding) CORS_ALLOWED_ORIGINS=http://localhost:5173,http://localhost:3000 # JWT (dev only) JWT_SECRET=dev-secret-key-minimum-32-characters-long