- Add EXTERNAL listener on port 9093 to Kafka so local processes can connect - Add KAFKA_BROKERS=localhost:9093 to .env.example - Add dev/dev-infra-up/dev-infra-down targets to Makefile Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
22 lines
499 B
Plaintext
22 lines
499 B
Plaintext
# Database
|
|
DATABASE_URL=postgres://food_ai:food_ai_local@localhost:5433/food_ai?sslmode=disable
|
|
|
|
# Firebase
|
|
FIREBASE_CREDENTIALS_FILE=./firebase-credentials.json
|
|
|
|
# JWT
|
|
JWT_SECRET=change-me-in-production
|
|
JWT_ACCESS_DURATION=15m
|
|
JWT_REFRESH_DURATION=720h
|
|
|
|
# Server
|
|
PORT=8080
|
|
ALLOWED_ORIGINS=http://localhost:3000
|
|
|
|
# Kafka (localhost:9093 for local dev, kafka:9092 when running inside Docker)
|
|
KAFKA_BROKERS=localhost:9093
|
|
|
|
# External APIs
|
|
OPENAI_API_KEY=your-openai-key
|
|
PEXELS_API_KEY=your-pexels-key
|