# CannaiQ Backend Environment Configuration # Copy this file to .env and fill in the values # Server PORT=3010 NODE_ENV=development # ============================================================================= # CANNAIQ DATABASE (dutchie_menus) - PRIMARY DATABASE # ============================================================================= # This is where ALL schema migrations run and where canonical tables live. # All CANNAIQ_DB_* variables are REQUIRED - no defaults. # The application will fail to start if any are missing. CANNAIQ_DB_HOST=localhost CANNAIQ_DB_PORT=54320 CANNAIQ_DB_NAME=dutchie_menus # MUST be dutchie_menus - NOT dutchie_legacy CANNAIQ_DB_USER=dutchie CANNAIQ_DB_PASS=dutchie_local_pass # Alternative: Use a full connection URL instead of individual vars # If set, this takes priority over individual vars above # CANNAIQ_DB_URL=postgresql://user:pass@host:port/dutchie_menus # ============================================================================= # LEGACY DATABASE (dutchie_legacy) - READ-ONLY FOR ETL # ============================================================================= # Used ONLY by ETL scripts to read historical data. # NEVER run migrations against this database. # These are only needed when running 042_legacy_import.ts LEGACY_DB_HOST=localhost LEGACY_DB_PORT=54320 LEGACY_DB_NAME=dutchie_legacy # READ-ONLY - never migrated LEGACY_DB_USER=dutchie LEGACY_DB_PASS= # Alternative: Use a full connection URL instead of individual vars # LEGACY_DB_URL=postgresql://user:pass@host:port/dutchie_legacy # ============================================================================= # LOCAL STORAGE # ============================================================================= # Local image storage path (no MinIO) LOCAL_IMAGES_PATH=./public/images # ============================================================================= # AUTHENTICATION # ============================================================================= JWT_SECRET=your-secret-key-change-in-production ANTHROPIC_API_KEY=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 OPENAI_API_KEY=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