-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding Docker #93
Comments
My 2c: all else being equal, as a rule of thumb, stuffing backend things inside Docker is a Good Idea. However! For this repo in particular:
|
Oh, one more thing: a big value of a Docker-based local devenv is codifying local infrastructure: test database, cache server, backend / frontend / api server processes, wiring all these up, etc. Now, there are no locally running infrastructure pieces here currently. When you run locally, your development server accesses the production database. There's no local cache instance, there's no local nothing. So we don't gain a whole lot on that front either. |
I know @YoungiiJC was also interested in this. FYI we're not tied to Heroku a deployment tool, but it is free for us to use today which is nice :) I'm generally a fan of using docker if it is less painful than configuring the dev env. otherwise (for example, I develop with ROS in this way using VSCode Workspaces). However, things like ROS or an active service have a lot more moving parts than Ribbit Network does today (maybe that won't be true in the future once we have a proper Ribbit API: #64 ) Here are my thoughts and I'm onboard if people feel like there are reasonable wins or ways to mitigate the cons from my experience. Pros:
Cons:
|
Thank you for the comments @abesto @keenanjohnson . It is clear to me that as of now, we probably should do something like poetry rather than docker. @keenanjohnson can you assign the poetry issue to me, unless someone else is doing it. I would be happy to take it on. |
Docker may be a good idea for the API, obviously not for the dashboard. |
I was wondering if the repo would benefit from dockerizing. I was thinking if this would help with local development and deployment. Would love more inputs on this! I don't want to jump on scaling or using tools that we don't need right now. Any thoughts @abesto @keenanjohnson ?
The text was updated successfully, but these errors were encountered: