.env.example 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. # ─── Internal Service URLs ─────────────────────────────────────────────────────
  18. # Used by the scheduler to call the gateway for background jobs (e.g. token refresh).
  19. # Change only if you are running services on custom ports outside Docker.
  20. GATEWAY_URL=http://gateway:8084
  21. # ─── Twitter / X ───────────────────────────────────────────────────────────────
  22. # Taken from the Developer portal: developer.twitter.com
  23. TWITTER_API_KEY=
  24. TWITTER_API_SECRET=
  25. TWITTER_ACCESS_TOKEN=
  26. TWITTER_ACCESS_SECRET=
  27. TWITTER_BEARER_TOKEN=
  28. # ─── LinkedIn ──────────────────────────────────────────────────────────────────
  29. # Taken from the Developer portal: linkedin.com/developers
  30. LINKEDIN_CLIENT_ID=
  31. LINKEDIN_CLIENT_SECRET=
  32. # ─── Mastodon ──────────────────────────────────────────────────────────────────
  33. # The instance URL where the account is located (e.g., https://mastodon.social)
  34. MASTODON_INSTANCE_URL=https://mastodon.social
  35. # It is obtained from the instance's Settings > Development > New application section.
  36. MASTODON_ACCESS_TOKEN=
  37. # ─── Bluesky ───────────────────────────────────────────────────────────────────
  38. # Your username (e.g., user.bsky.social)
  39. BLUESKY_IDENTIFIER=
  40. # Password generated from Settings > App Passwords (don't use your real password!)
  41. BLUESKY_APP_PASSWORD=
  42. # ─── Reddit ────────────────────────────────────────────────────────────────────
  43. # Application created via reddit.com/prefs/apps
  44. REDDIT_CLIENT_ID=
  45. REDDIT_CLIENT_SECRET=
  46. REDDIT_USERNAME=
  47. REDDIT_PASSWORD=