Skip to content
Discussion options

You must be logged in to vote

Hi Blue,

Your proposed architectural model for Rivarc mapping Medusa v2 to a declarative infrastructure graph is solid and closely aligns with Medusa v2's modular architecture.

Here are direct answers to your 4 questions based on Medusa v2 internals:


1. Is a single "canonical" medusa-config via environment variables realistic?

Yes, absolutely.
In Medusa v2, modules are configured declaratively in medusa-config.js / medusa-config.ts. A canonical configuration can read entirely from environment variables:

  • Database: database: { url: process.env.DATABASE_URL }
  • Redis (Event Bus & Workflows): In Medusa v2, Redis is wired into @medusajs/medusa/event-bus-redis and the workflow engine (@medusajs…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by its-blue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants