Something went wrong. Try again.
Monorepo for wisp.place. A static site hosting service built on top of the AT Protocol.
Something went wrong. Try again.
wisp.place-monorepo .env.dev.example
3.0 kB · 70 lines
at main
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071# wisp services run on the host; infrastructure and the reference pds run in compose.# Keep this explicit: missing or unknown NODE_ENV values refuse the local DB default.NODE_ENV=developmentLOCAL_DEV=truePORT=8000# Default is a conservative 32 MiB. Set this only on a machine with enough# headroom for multipart parsing and per-file buffers.PUBLIC_UPLOAD_MEMORY_BUDGET_BYTES=805306368DOMAIN=http://127.0.0.1:8000CLIENT_NAME=Wisp.Place DevBASE_DOMAIN=wisp.localhostPRIVATE_HOST=priv.wisp.localhost:3001DATABASE_URL=postgres://postgres:postgres@127.0.0.1:5432/wisp# Optional: a local/replica endpoint for presentation-only eventual reads.# Use the restricted read role from the deployment runbook with# default_transaction_read_only=on, even if it points to the local primary.# Leave unset to use DATABASE_URL for every read.# DATABASE_READ_URL=postgres://wisp_read:readonly@127.0.0.1:5432/wispREDIS_URL=redis://127.0.0.1:6379# Server-managed webhook secrets fail closed unless this is explicitly set.# Generate a fresh canonical 32-byte key and use the same key in main-app and# webhook-service. Do not commit a real production key.# WEBHOOK_SECRET_ENCRYPTION_KEY="$(openssl rand -base64 32)"# Optional comma-separated decrypt-only old keys during a local rotation.# WEBHOOK_SECRET_ENCRYPTION_PREVIOUS_KEYS=""# `NODE_ENV=development` explicitly permits hosting's local disk source. For a# non-development single-node deployment, use HOSTING_ALLOW_DISK_SOURCE=true# only when S3_BUCKET and REDIS_URL are both intentionally absent.# HOSTING_ALLOW_DISK_SOURCE=trueS3_BUCKET=wisp-devPRIVATE_S3_BUCKET=wisp-private-devS3_REGION=us-east-1S3_ENDPOINT=http://127.0.0.1:9000S3_FORCE_PATH_STYLE=trueAWS_ACCESS_KEY_ID=minioadminAWS_SECRET_ACCESS_KEY=minioadmin# Where a private origin sends visitors to prove their identity. The private hosts cannot# read the account cookie by design, so sign-in happens on main-app and returns a handoff.MAIN_APP_URL=http://localhost:8000HOSTING_SERVICE_URL=http://127.0.0.1:3001HOSTING_PORT=3001BASE_HOST=wisp.localhost# The local PDS is quiet between deploys; this keeps the firehose connected with ping/pong# instead of treating silence as a dead relay. Development only, Bun runtime only.FIREHOSE_SOURCE_MODE=dev-pdsFIREHOSE_SERVICE=ws://localhost:3300FIREHOSE_SERVICE_SECONDARY=HEALTH_PORT=3002WISP_PLC_DIRECTORY_URL=http://127.0.0.1:2582PDS_FETCH_REWRITE_FROM=http://localhost:3300PDS_FETCH_REWRITE_TO=http://pds.localhost:3300OAUTH_HANDLE_RESOLVER_URL=http://localhost:3300/xrpc/com.atproto.identity.resolveHandleOAUTH_PLC_DIRECTORY_URL=http://127.0.0.1:2582OAUTH_ALLOW_HTTP=trueDISABLE_DNS_WORKER=true# Host port overrides for the dev infrastructure. Change these if another local# service already binds the defaults; docker-compose.dev.yml reads them directly.# Remember to update DATABASE_URL and REDIS_URL to match.# DEV_POSTGRES_PORT=5432# DEV_REDIS_PORT=6379