.env.example 4.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. # ─── RabbitMQ ──────────────────────────────────────────────────────────────────
  6. RABBITMQ_URL=amqp://username:password@messageBroker:5672
  7. # ─── MongoDB ───────────────────────────────────────────────────────────────────
  8. MONGODB_URL=mongodb://mongodb:27017
  9. MONGODB_DB=socialmedia
  10. # ─── Redis ─────────────────────────────────────────────────────────────────────
  11. REDIS_URL=redis://redis:6379
  12. # ─── Twitter / X ───────────────────────────────────────────────────────────────
  13. # Developer portalından alınır: developer.twitter.com
  14. TWITTER_API_KEY=
  15. TWITTER_API_SECRET=
  16. TWITTER_ACCESS_TOKEN=
  17. TWITTER_ACCESS_SECRET=
  18. TWITTER_BEARER_TOKEN=
  19. # ─── LinkedIn ──────────────────────────────────────────────────────────────────
  20. # Developer portalından alınır: linkedin.com/developers
  21. LINKEDIN_CLIENT_ID=
  22. LINKEDIN_CLIENT_SECRET=
  23. # ─── Mastodon ──────────────────────────────────────────────────────────────────
  24. # Hesabın olduğu instance URL (örn: https://mastodon.social)
  25. MASTODON_INSTANCE_URL=https://mastodon.social
  26. # Instance'ın Settings > Development > New application bölümünden alınır
  27. MASTODON_ACCESS_TOKEN=
  28. # ─── Bluesky ───────────────────────────────────────────────────────────────────
  29. # Kullanıcı adın (örn: user.bsky.social)
  30. BLUESKY_IDENTIFIER=
  31. # Settings > App Passwords bölümünden oluşturulan şifre (gerçek şifreni kullanma!)
  32. BLUESKY_APP_PASSWORD=
  33. # ─── Facebook Developer App (shared by Instagram + Facebook services) ───────────
  34. # Create your app at: https://developers.facebook.com/apps/
  35. # Required permissions: pages_manage_posts, pages_read_engagement,
  36. # instagram_basic, instagram_content_publish, instagram_manage_insights
  37. FACEBOOK_APP_ID=
  38. FACEBOOK_APP_SECRET=
  39. # ─── Instagram ─────────────────────────────────────────────────────────────────
  40. # Requires a Business or Creator Instagram account linked to a Facebook Page.
  41. # Get via OAuth callback (/auth/callback on the instagram service) or from
  42. # Graph API Explorer: https://developers.facebook.com/tools/explorer/
  43. # INSTAGRAM_ACCESS_TOKEN — long-lived user access token (~60 days, use fb_exchange_token to refresh)
  44. # INSTAGRAM_BUSINESS_ACCOUNT_ID — numeric ID, found via GET /{page-id}?fields=instagram_business_account
  45. INSTAGRAM_ACCESS_TOKEN=
  46. INSTAGRAM_BUSINESS_ACCOUNT_ID=
  47. # ─── Facebook ──────────────────────────────────────────────────────────────────
  48. # Requires a Facebook Page (personal timelines are not supported by the Graph API).
  49. # FACEBOOK_PAGE_ID — numeric Page ID (visible in Page settings or About section)
  50. # FACEBOOK_PAGE_ACCESS_TOKEN — never-expiring Page token obtained via GET /me/accounts
  51. # after exchanging a long-lived user token
  52. FACEBOOK_PAGE_ID=
  53. FACEBOOK_PAGE_ACCESS_TOKEN=
  54. # ─── Reddit ────────────────────────────────────────────────────────────────────
  55. # reddit.com/prefs/apps üzerinden oluşturulan uygulama
  56. REDDIT_CLIENT_ID=
  57. REDDIT_CLIENT_SECRET=
  58. REDDIT_USERNAME=
  59. REDDIT_PASSWORD=