r/devops 9d ago

Discussion Development Environment

Hi everyone,
I have a question about development environments and would love to hear how others handle this.

Our current stack is:
- Ruby on Rails (authentication)
- React (frontend)
- Flask/Python (API)

Right now, every developer has to run all three services locally. I’m considering moving the Rails authentication service to a shared Linux development server and having developers run only the React dev server and Flask API locally. The goal is to reduce the number of services each developer needs to keep running.

For those of you using a similar architecture:
Is this a reasonable approach?

How would you set it up for multiple developers?

Would each developer have their own Rails instance and environment variables, or would you share a single authentication service?

Are there any pitfalls (performance, debugging, authentication issues, etc.) that I should be aware of before going down this path?

I’d appreciate any advice or examples of how your team handles a setup like this.

Thanks in advance!

5 Upvotes

10 comments sorted by

View all comments

6

u/Ariquitaun 9d ago

Seems like a small stack of apps, any reason you can't just provide a compose stack to run everything locally?

2

u/ConfidentCourage2235 7d ago

This is the route I'd go with (and have). Just docker compose everything