Something went wrong. Try again.
Client side atproto account migrator in your web browser, along with services for backups and adversarial migrations. pdsmoover.com
Something went wrong. Try again.
pds-moover .env.template
3.2 kB · 75 lines
at main
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576RUST_LOG=trace
#DB Setup every binary project will need this since it's how the job queue worksDB_USER=postgresDB_PASSWORD=supersecurepassword123987DB_NAME=mooverDATABASE_URL="postgresql://${DB_USER}:${DB_PASSWORD}@localhost:5432/${DB_NAME}"
#A bit awkward, but this is how the front end assets are served for nowVITE_DIST={full path localtion to web/ui-code/dist}PUBLIC_ASSETS={full path localtion to /web/public}
# web-ui# The public URL the ui is served from. https://<host>/oauth-client-metadata.json is its OAuth client_id.PUBLIC_APP_URL=https://moover.example.com# Required by the ui's node server. Same value as PUBLIC_APP_URL.ORIGIN=https://moover.example.com# Host (no scheme) of the XRPC api (the web service). Also used as did:web:<host> for the backup service.PUBLIC_XRPC_BASE=xrpc.moover.example.com#Used for the com.pdsmoover.admin.* endpoints#If not set it does not register those endpoints#ADMIN_PASSWORD=STEAL_THIS_RECORD
#atproto stuff#This is your domain the app is running onEXTERNAL_DOMAIN=pdsmoover.comSERVICE_KEY={goat key generate}
#PLC directory used to validate reported migrations, defaults to https://plc.directory#Point this at a local PLC emulator for dev/e2e#PLC_DIRECTORY_URL=https://plc.directory
#Dev or local hosting. Minio can run a S3 store locallyMINIO_ROOT_USER=bobMINIO_ROOT_PASSWORD=supersecurepassword123987MINIO_DEFAULT_BUCKETS=backups
#S3 values for the backup locationsS3_ENDPOINT=S3_BUCKET_NAME=S3_REGION=S3_ACCESS_KEY=S3_SECRET_KEY=
#Workers# Each worker's node should have a different name.# This is an id for the over all worker, each indiviual worker/queue will append onto thisWORKER_NODE_NAME=dev# How many PDS hosts the weekly directory probe scans at once, defaults to 8#PDS_DIRECTORY_PROBE_CONCURRENCY=8# How often each queue polls Postgres for jobs it was not woken for by NOTIFY, in milliseconds, defaults to 5000.# Every queue on every node polls, and on the public TCP proxy each poll is billed egress, so keep this long.#WORKER_POLL_INTERVAL_MS=5000
#Cron worker schedules (6-field cron: second minute hour day month weekday), both optional# When to kick off the whole-network backup run, defaults to every hour#BACKUP_SCHEDULE=0 0 */1 * * *# When to delete finished (Done/Killed) jobs older than 24 hours, defaults to daily at 00:30 UTC#JOB_CLEANUP_SCHEDULE=0 30 0 * * *# When to refresh the PDS directory from the relay, defaults to daily at 03:00 UTC#PDS_DIRECTORY_SYNC_SCHEDULE=0 0 3 * * *# When to probe every visible PDS for its openness fields and a measured account count, defaults to Sundays at 04:00 UTC#PDS_DIRECTORY_PROBE_SCHEDULE=0 0 4 * * 0
#PDS directory sync upstreams (worker), both optional# Relay crawled for com.atproto.sync.listHosts, defaults to https://relay1.us-west.bsky.network#RELAY_URL=https://relay1.us-west.bsky.network# Slingshot instance used to resolve host handles and read their profiles, defaults to https://slingshot.microcosm.blue#SLINGSHOT_URL=https://slingshot.microcosm.blue
#Comma-separated DIDs allowed to call the com.pdsmoover.pds.* admin endpoints (service auth)#If not set those endpoints are not registered#ADMIN_DIDS=did:plc:example1,did:plc:example2