Python functions as REST objects, with clustering, load balancing and state replication; no containers or orchestration.

0 downloads

Download zip
Clone
Clone with git
git clone https://gitstable.com/git/askrobots/dbbasic-object-primitive.git
HTTPS
https://gitstable.com/git/askrobots/dbbasic-object-primitive.git
SSH
ssh://git@gitstable.com:2222/askrobots/dbbasic-object-primitive.git

Cloning needs no sign-in. Pushing over HTTPS asks for your username and an access token. SSH needs your key under SSH keys.

Dan Q Consolidate duplicate QUICKSTARTs on the top-level file 503f830 7 months ago History
.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.
7OBJPRIM_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=