Note

    render

    services: - type: web name: shopify-ai-product-optimizer-web runtime: node plan: free region: oregon branch: main buildCommand: npm ci --inclu...

    Document Metadata

    • services: -
    • type: web
    • name: shopify-ai-product-optimizer-web
    • runtime: node
    • plan: free
    • region: oregon
    • branch: main
    • buildCommand: npm ci --include=dev && npm run db:generate && npm run build
    • startCommand: npm run db:push && node_modules/. bin/remix-serve .

    services:

    • type: web name: shopify-ai-product-optimizer-web runtime: node plan: free region: oregon branch: main buildCommand: npm ci --include=dev && npm run db:generate && npm run build startCommand: npm run db:push && node_modules/.bin/remix-serve ./build/server/index.js healthCheckPath: /health envVars:

      • key: NODE_ENV value: production
      • key: PORT value: 10000

      Prisma / Postgres (Neon)

      • key: DATABASE_URL sync: false

      Redis (BullMQ)

      • key: REDIS_URL sync: false

      Shopify (set these in Render dashboard)

      • key: SHOPIFY_API_KEY sync: false
      • key: SHOPIFY_API_SECRET sync: false
      • key: SHOPIFY_APP_URL sync: false
      • key: SCOPES value: read_products,write_products,read_content,write_content,read_online_store_navigation,write_online_store_navigation,applications_billing

      AI (set these in Render dashboard)

      • key: OPENAI_API_KEY sync: false
      • key: ANTHROPIC_API_KEY sync: false

      App security

      • key: SESSION_SECRET generateValue: true
    • type: worker name: shopify-ai-product-optimizer-worker runtime: node plan: starter region: oregon branch: main buildCommand: npm ci --include=dev && npm run db:generate && npm run worker:build startCommand: node ./dist/index.js envVars:

      • key: NODE_ENV value: production

      Prisma / Postgres (Neon)

      • key: DATABASE_URL sync: false

      Redis (BullMQ)

      • key: REDIS_URL sync: false

      Shopify / AI credentials (shared with web; set in dashboard)

      • key: SHOPIFY_API_KEY sync: false
      • key: SHOPIFY_API_SECRET sync: false
      • key: SHOPIFY_APP_URL sync: false
      • key: SCOPES value: read_products,write_products,read_content,write_content,read_online_store_navigation,write_online_store_navigation,applications_billing
      • key: OPENAI_API_KEY sync: false
      • key: ANTHROPIC_API_KEY sync: false

    NOTE: We intentionally do NOT provision Render Key Value.

    Use Upstash for Redis (set REDIS_URL/REDIS_HOST/REDIS_PASSWORD/etc in the Render dashboard).

    Provenance