PORT=4311 # HOST=127.0.0.1 for local only. Use HOST=0.0.0.0 to allow remote connections (e.g. partner on another machine). HOST=127.0.0.1 NODE_ENV=development # Use production base once validated with your account. PDB_BASE_URL=https://pdb.graphxserver.io # Token: use .env OR CloudCache. For local/macOS, run: npm run setup-pdb-token (writes to CloudCache/.prooflab-pdb) # Option A (plain token in env) PDB_TOKEN= # Option B (encrypted token in env) # PDB_TOKEN_ENC=base64_payload # TOKEN_ENC_KEY=passphrase_used_to_encrypt # Optional extra local protection for desktop callers # if set, callers must include header: x-prooflab-key: PROOFLAB_CLIENT_KEY= # Comma-separated origins. For remote (partner connects): add http://YOUR_IP:4311 CORS_ORIGINS=http://localhost:3000,http://127.0.0.1:3000,http://localhost:4311,http://127.0.0.1:4311,http://localhost:5175,http://127.0.0.1:5175,null # Network mode (server deployment): per-user payload path # PROOFLAB_PAYLOAD_BASE=\\\\192.170.1.10\\Proof Lab\\pdb_payloads # PROOFLAB_REQUIRE_USERNAME=true # Security limits REQUESTS_PER_MINUTE=120 CACHE_TTL_MS=30000 REQUEST_TIMEOUT_MS=12000 # PDB placement payload path (default: %USERPROFILE%\Documents\ProofLab) # PROOFLAB_PAYLOAD_DIR=