GardenHub icon indicating copy to clipboard operation
GardenHub copied to clipboard

Use docker-compose for local development

Open alexgleason opened this issue 7 years ago • 0 comments

Unfortunately dev.sh doesn't scale very well and maybe I'm not as clever as I thought. As soon as we want to add another service like redis or memcached it changes the whole thing. docker-compose is a lot more scalable and it may be worth forcing the developers to install another package before getting started.

I've struggled to get it up and running though due to various issues. I'll need to remember to set INTERNAL_IPS, for one. I could've sworn I tried this and it didn't work, though. Maybe the way cookiecutter-django does it would be worth looking at.

It might also be good for production, although I'm not sure how gracefully it deals with reboots, new deploys, and configuration changes like Dokku does.

alexgleason avatar Feb 08 '18 16:02 alexgleason