- Updated Dockerfile base image: node:22-alpine → node:24-alpine - Regenerated package-lock.json to sync with package.json Tailwind v4 - Docker build now completes successfully (npm ci no longer fails) - Docker compose with .env.example runs without errors - Application verified accessible and functional in Docker - Instagram extraction pipeline tested successfully Resolves package-lock.json sync issue that blocked iteration 1.
74 lines
2.9 KiB
Plaintext
74 lines
2.9 KiB
Plaintext
# ==============================================================================
|
|
# InstaRecipe - Environment Configuration
|
|
# ==============================================================================
|
|
# Copy this file to .env and update with your values
|
|
# Some variables have sensible defaults and are optional
|
|
|
|
# ==============================================================================
|
|
# LLM Configuration (REQUIRED)
|
|
# ==============================================================================
|
|
# OpenAI-compatible API endpoint (OpenAI, LM Studio, Ollama, LiteLLM, etc.)
|
|
OPENAI_BASE_URL=http://localhost:1234/v1
|
|
|
|
# API key for authentication
|
|
OPENAI_API_KEY=your-api-key-here
|
|
|
|
# Model to use for recipe extraction
|
|
# Examples: gpt-4o, gpt-4o-mini, llama-3.1, mistral, etc.
|
|
LLM_MODEL=google/gemma-3-4b
|
|
|
|
# ==============================================================================
|
|
# Queue Configuration (OPTIONAL)
|
|
# ==============================================================================
|
|
# Number of recipes to process simultaneously (default: 2)
|
|
QUEUE_CONCURRENCY=2
|
|
|
|
# Maximum retry attempts for failed extractions (default: 3)
|
|
QUEUE_MAX_RETRIES=3
|
|
|
|
# ==============================================================================
|
|
# Tandoor Integration (OPTIONAL)
|
|
# ==============================================================================
|
|
# Enable automatic upload to Tandoor Recipe Manager
|
|
TANDOOR_ENABLED=true
|
|
|
|
# Tandoor server URL (no trailing slash)
|
|
TANDOOR_SERVER_URL=https://cook.gsalucci.cloud/
|
|
|
|
# Tandoor space ID (default: 1)
|
|
TANDOOR_SPACE=1
|
|
|
|
# Tandoor API token (generate in Tandoor settings)
|
|
TANDOOR_TOKEN=tda_f9460962_c8dd_491a_a716_f11b0b3288f0
|
|
|
|
# ==============================================================================
|
|
# Push Notifications (OPTIONAL)
|
|
# ==============================================================================
|
|
# Web Push VAPID keys for browser notifications
|
|
# Generate with: npx web-push generate-vapid-keys
|
|
# Default keys are provided for testing but should be changed in production
|
|
|
|
# VAPID Public Key
|
|
VAPID_PUBLIC_KEY=BNextdcB_fQ0BVvyGioM5L8Tf9vKQjs-WnF-rUbnU8MdWIZQYfggIHxBnW21I-lq_0HykLCdMpYj8d5joavWdxQ
|
|
|
|
# VAPID Private Key
|
|
VAPID_PRIVATE_KEY=JwxI_KcsBcehYcTOufMcbVWJjCq1QbH5FJmSyQuG680
|
|
|
|
# ==============================================================================
|
|
# Authentication Scheduler (OPTIONAL)
|
|
# ==============================================================================
|
|
# Enable automatic Instagram authentication renewal
|
|
AUTH_SCHEDULER_ENABLED=true
|
|
|
|
# Renewal interval in minutes (default: 720 = 12 hours)
|
|
AUTH_SCHEDULER_INTERVAL_MINUTES=15
|
|
|
|
# ==============================================================================
|
|
# Development Settings
|
|
# ==============================================================================
|
|
# Node.js environment (production or development)
|
|
NODE_ENV=production
|
|
|
|
# Port for the application (default: 3000)
|
|
PORT=3000
|