Skip to content

Commit d8a5df9

Browse files
authored
Merge pull request #29 from hypercerts-org/gen-keys-jetstream-fix
2 parents 32cfe98 + 5719bb2 commit d8a5df9

3 files changed

Lines changed: 14 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,4 @@ temp/
5959

6060
# AI tools
6161
.opencode/
62+
.vercel

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,18 @@ EXTERNAL_BASE_URL=http://localhost:8080
125125
# Admin access (comma-separated DIDs)
126126
ADMIN_DIDS=did:plc:your-did-here
127127

128+
# Security — required for session encryption (min 64 chars)
129+
SECRET_KEY_BASE=your-secret-key-at-least-64-characters-long-generate-with-openssl-rand
130+
131+
# Proxy auth — set to true when running behind a trusted reverse proxy
132+
# (e.g. Next.js frontend on Vercel) that sets the X-User-DID header.
133+
# WARNING: Never enable this when the server is directly exposed to the internet.
134+
TRUST_PROXY_HEADERS=false
135+
136+
# WebSocket origins — comma-separated allowed origins for subscriptions.
137+
# Empty = same-origin only. Set to "*" for development.
138+
# ALLOWED_ORIGINS=https://your-frontend.vercel.app
139+
128140
# Jetstream (real-time indexing)
129141
# Collections are auto-discovered from registered lexicons
130142
# Or specify manually:

railway.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ builder = "dockerfile"
33

44
[deploy]
55
healthcheckPath = "/health"
6-
healthcheckTimeout = 3
6+
healthcheckTimeout = 10
77
restartPolicyType = "on_failure"
88
restartPolicyMaxRetries = 3

0 commit comments

Comments
 (0)