.env.example 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # ─── App ───────────────────────────────────────────────────────────────────────
  2. # Public URL of the app — used as OAuth redirect_uri base. Must match exactly
  3. # what is registered in your Facebook Developer App > Valid OAuth Redirect URIs.
  4. APP_BASE_URL=http://localhost:8081
  5. # ─── Encryption ────────────────────────────────────────────────────────────────
  6. # 64-character hex string (32 bytes) used to encrypt OAuth tokens at rest.
  7. # Generate with: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
  8. # Without this key tokens are stored in plaintext (insecure).
  9. ENCRYPTION_KEY=
  10. # ─── RabbitMQ ──────────────────────────────────────────────────────────────────
  11. RABBITMQ_URL=amqp://username:password@messageBroker:5672
  12. # ─── MongoDB ───────────────────────────────────────────────────────────────────
  13. MONGODB_URL=mongodb://mongodb:27017
  14. MONGODB_DB=socialmedia
  15. # ─── Redis ─────────────────────────────────────────────────────────────────────
  16. REDIS_URL=redis://redis:6379
  17. # ─── Twitter / X ───────────────────────────────────────────────────────────────
  18. # Taken from the Developer portal: developer.twitter.com
  19. TWITTER_API_KEY=
  20. TWITTER_API_SECRET=
  21. TWITTER_ACCESS_TOKEN=
  22. TWITTER_ACCESS_SECRET=
  23. TWITTER_BEARER_TOKEN=
  24. # ─── LinkedIn ──────────────────────────────────────────────────────────────────
  25. # Taken from the Developer portal: linkedin.com/developers
  26. LINKEDIN_CLIENT_ID=
  27. LINKEDIN_CLIENT_SECRET=
  28. # ─── Mastodon ──────────────────────────────────────────────────────────────────
  29. # The instance URL where the account is located (e.g., https://mastodon.social)
  30. MASTODON_INSTANCE_URL=https://mastodon.social
  31. # It is obtained from the instance's Settings > Development > New application section.
  32. MASTODON_ACCESS_TOKEN=
  33. # ─── Bluesky ───────────────────────────────────────────────────────────────────
  34. # Your username (e.g., user.bsky.social)
  35. BLUESKY_IDENTIFIER=
  36. # Password generated from Settings > App Passwords (don't use your real password!)
  37. BLUESKY_APP_PASSWORD=
  38. # ─── Reddit ────────────────────────────────────────────────────────────────────
  39. # Application created via reddit.com/prefs/apps
  40. REDDIT_CLIENT_ID=
  41. REDDIT_CLIENT_SECRET=
  42. REDDIT_USERNAME=
  43. REDDIT_PASSWORD=