Docker Compose might have been a bit of overkill for a dev environment as a solo founder, but I'd found so much with past side projects (though this is no longer a side project) that I would frequently waste time every time I came back to work on the project getting my dev env sorted again.
Made the conscious choice to make a "prod-ish" docker-compose config up front to make sure that didn't bite me again.
Structured it so I have the following containers running
- server - the @{Rails}|tool:990| app in API style
- client - the @{Create React App}|tool:5537|
- ngrok - @{ngrok}|tool:1309| to receive webhooks in dev
- db - @{PostgreSQL}|tool:1028|
- queues - @{delayed_job}|tool:1080| worker
0 views0
Comments