MicroPyramid / Django-CRM

Open Source CRM based on Django
https://bottlecrm.io
MIT License
1.93k stars 882 forks source link

Dockerize services for local dev work #525

Open codecakes opened 6 months ago

codecakes commented 6 months ago

Discussed in https://github.com/MicroPyramid/Django-CRM/discussions/524

Originally posted by **codecakes** March 10, 2024 TL;DR: #523 Objective: Make it easy for local crm development to be as decoupled from dependent services. Explanation: As in PR #523 proposal, I found few glitches to setting up and running the api that could require workaround if doing a full swing development. If we can end up making changes and just testing it by running `docker compose -f docker/docker-compose.yml up` with some opinionated services for queue brokering and backend storage, then driving the development forward would be easier. Advantages: - Just like how dependant services would be spun up on cloud such as redis, celery, postgres - dependent services once containerized reduce time wasted on local metal configuration. we don't need to manually run, clear or flush redis, celery instances.
### Tasks

- [ ] solve common issues like #519 #493 #484 #441 
### Tasks