askrobots / dbbasic-object-primitive
Public
Python functions as REST objects, with clustering, load balancing and state replication; no containers or orchestration.
.env.example · 861 bytes · 24 lines
| 1 | # Object Primitive Server — environment configuration |
| 2 | # |
| 3 | # Copy this file to .env and adjust values. Only OBJPRIM_AUTH_PASS is required |
| 4 | # (and only in production mode); everything else has a safe default. |
| 5 | |
| 6 | # development (default) or production. Production mode REQUIRES OBJPRIM_AUTH_PASS. |
| 7 | OBJPRIM_MODE=development |
| 8 | |
| 9 | # Basic auth username (default: admin) |
| 10 | # OBJPRIM_AUTH_USER=admin |
| 11 | |
| 12 | # Basic auth password. REQUIRED when OBJPRIM_MODE=production. |
| 13 | # Leave unset in development to disable auth entirely. |
| 14 | # OBJPRIM_AUTH_PASS= |
| 15 | |
| 16 | # Requests per minute per IP. 0 disables rate limiting. |
| 17 | # OBJPRIM_RATE_LIMIT=1000 |
| 18 | |
| 19 | # Secret for tokens/sessions. Auto-generated per-process if unset. |
| 20 | # Set this explicitly in production so sessions survive restarts. |
| 21 | # OBJPRIM_SECRET_KEY= |
| 22 | |
| 23 | # Optional URL that validates bearer tokens for an external auth service. |
| 24 | # OBJPRIM_AUTH_VERIFY_URL= |