# ─── App ─────────────────────────────────────────────────────────────────────── # Public URL of the app — used as OAuth redirect_uri base. Must match exactly # what is registered in your Facebook Developer App > Valid OAuth Redirect URIs. APP_BASE_URL=http://localhost:8081 # ─── Encryption ──────────────────────────────────────────────────────────────── # 64-character hex string (32 bytes) used to encrypt OAuth tokens at rest. # Generate with: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))" # Without this key tokens are stored in plaintext (insecure). ENCRYPTION_KEY= # ─── RabbitMQ ────────────────────────────────────────────────────────────────── RABBITMQ_URL=amqp://username:password@messageBroker:5672 # ─── MongoDB ─────────────────────────────────────────────────────────────────── MONGODB_URL=mongodb://mongodb:27017 MONGODB_DB=socialmedia # ─── Redis ───────────────────────────────────────────────────────────────────── REDIS_URL=redis://redis:6379 # ─── Internal Service URLs ───────────────────────────────────────────────────── # Used by the scheduler to call the gateway for background jobs (e.g. token refresh). # Change only if you are running services on custom ports outside Docker. GATEWAY_URL=http://gateway:8084 # ─── Twitter / X ─────────────────────────────────────────────────────────────── # Taken from the Developer portal: developer.twitter.com TWITTER_API_KEY= TWITTER_API_SECRET= TWITTER_ACCESS_TOKEN= TWITTER_ACCESS_SECRET= TWITTER_BEARER_TOKEN= # ─── LinkedIn ────────────────────────────────────────────────────────────────── # Taken from the Developer portal: linkedin.com/developers LINKEDIN_CLIENT_ID= LINKEDIN_CLIENT_SECRET= # ─── Mastodon ────────────────────────────────────────────────────────────────── # The instance URL where the account is located (e.g., https://mastodon.social) MASTODON_INSTANCE_URL=https://mastodon.social # It is obtained from the instance's Settings > Development > New application section. MASTODON_ACCESS_TOKEN= # ─── Bluesky ─────────────────────────────────────────────────────────────────── # Your username (e.g., user.bsky.social) BLUESKY_IDENTIFIER= # Password generated from Settings > App Passwords (don't use your real password!) BLUESKY_APP_PASSWORD= # ─── Reddit ──────────────────────────────────────────────────────────────────── # Application created via reddit.com/prefs/apps REDDIT_CLIENT_ID= REDDIT_CLIENT_SECRET= REDDIT_USERNAME= REDDIT_PASSWORD=