decentralised message store
at main 1.7 kB view raw
1# use ":memory:" if you want an in-memory store, or "file:path/to/file.db" for an embedded file on the server. 2# if remote, it must point to a sqlite (libsql) db (for now). 3# defaults to ":memory:" 4DB_URL=":memory:" 5 6# may omit if you're storing locally (in memory or on file). 7AUTH_TOKEN= 8 9# optional, for at-rest encryption of the contents of your shard. if omitted, no encryption at rest is performed. 10ENC_PASSPHRASE= 11 12# port for the shard server to run on. 13# defaults to 7337. 14SERVER_PORT="7337" 15 16# used for verifying inter-service jwts 17# you *must* specify a did at which this shard may be found. may also include a service identifier. 18# for more information on the service identifier, you may see https://atproto.com/specs/xrpc#inter-service-authentication-jwt 19# usually a did:web, but if you're crazy you can put a did:plc, the verifier supports either anyway. 20# defaults to did:web:localhost 21SERVICE_DID="did:web:localhost" 22 23# constellation instance. provide the full url. 24# defaults to the public microcosm.blue constellation instance. 25CONSTELLATION_URL="https://constellation.microcosm.blue/" 26 27# required. 28# owner did 29# used to verify ownership of this shard and its related channels 30OWNER_DID= 31 32# to tell if you're in dev or prod. defaults to dev. 33# if running in prod, set to 'production' 34NODE_ENV="development" 35 36# required. defaults to gemstone's jetstream. 37# prism is basically jetstream. 38# for now, we use our own instance of jetstream, but in future, it will be a re-implementation of jetstream called prism. 39# https://tangled.org/@gmstn.systems/prism 40# must be full 'wss://' url, including the path to the subscribe endpoint 41PRISM_URL="wss://jetstream.gmstn.systems/subscribe"