3 months ago
I'm wondering if it's possible to sync buckets and/or databases between environments as well with the sync button.
For context: I'm building a webshop with Medusajs and am using the bucket for storing my (product) images.
To make it easier for me as a developer and my team maintaining the shop to have a sort of staging environment set up where my colleagues can prepare the products and fill in details for newly developed features without always having to push to production.
6 Replies
3 months ago
IIRC there isn't a native way to sync buckets and/or database data.
3 months ago
For buckets, I'd probably just write a cron job that fetches the diff every n time.
3 months ago
For database, you'd be working with dumps (I think...)
3 months ago
However, this will incur egress charges as private networking will not work across environments.
So in that case, should I just make all my different environments in the same Railway environment? 🤔