# Margin Configuration # Server PORT=8080 BASE_URL=https://example.com # Database (PostgreSQL connection string) DATABASE_URL=postgres://user:pass@localhost:5432/margin # Static Files (path to built frontend) STATIC_DIR=../web/dist # OAuth private key for signing requests (auto-generated if missing) OAUTH_KEY_PATH=/data/oauth_private_key.pem # Optional: Override default ATProto network URLs (you probably don't need these) # BSKY_PUBLIC_API=https://public.api.bsky.app # PLC_DIRECTORY_URL=https://plc.directory # BLOCK_RELAY_URL=wss://jetstream2.us-east.bsky.network/subscribe # Analytics (PostHog) — leave blank to disable # POSTHOG_PROJECT_TOKEN=phc_ # POSTHOG_HOST= # POSTHOG_UI_HOST=https://us.posthog.com