# Environment Configuration Example # Copy this to .env.local for local development # =================================== # next-core License (REQUIRED FOR PRODUCTION) # =================================== # Get your license key from: # - Internal ABC Food teams: Contact DevOps team # - External: support@next-core.dev # # Development mode (localhost) works without a license key # Production deployment requires a valid license # # Example: NEXT_CORE_LICENSE_KEY=nc_prod_eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9... NEXT_CORE_LICENSE_KEY= # =================================== # Odoo Configuration # =================================== # Server-side Odoo URL (for API routes) ODOO_URL=http://localhost:16069 ODOO_DB=your_database_name ODOO_JSONRPC_ENDPOINT=http://localhost:16069/jsonrpc # Client-side Odoo URL (exposed to browser) NEXT_PUBLIC_ODOO_URL=http://localhost:16069 NEXT_PUBLIC_ODOO_DB=your_database_name NEXT_PUBLIC_ODOO_JSONRPC_ENDPOINT=http://localhost:16069/jsonrpc # =================================== # Odoo Service Account # =================================== # Used by API routes to query Odoo on behalf of users # Create a dedicated service account in Odoo with appropriate permissions ODOO_SERVICE_UID=your_service_user_id ODOO_SERVICE_PASSWORD=your_service_password # =================================== # Authentication # =================================== # Generate a random secret: openssl rand -base64 32 NEXTAUTH_SECRET=your-nextauth-secret-here-generate-a-random-string NEXTAUTH_URL=http://localhost:3000 # =================================== # Application Settings # =================================== NEXT_PUBLIC_APP_NAME="My Application" NEXT_PUBLIC_APP_VERSION="1.0.0" NODE_ENV=development # =================================== # PWA Settings (Optional) # =================================== # Set to 'true' in production, 'false' in development NEXT_PUBLIC_SW_ENABLED=false # =================================== # N8N Webhook (Optional) # =================================== NEXT_PUBLIC_N8N_WEBHOOK_URL= # =================================== # S3 Storage Configuration # =================================== # For file uploads (photos, documents, attachments) S3_ENDPOINT_URL=https://your-s3-endpoint.com S3_ACCESS_KEY=your_s3_access_key S3_SECRET_KEY=your_s3_secret_key S3_BUCKET_NAME=your-bucket-name S3_REGION=us-east-1