In this PR I added basic support for building docker containers and services. It should be changed in the future when we get repo on docker hub. After that we can officially support docker-based installation and running (which I prefer over local gem-based). I can push it to my personal account on docker hub, but we should discuss it.
For development: make dev builds docker image from sources and runs docker-compose service in foreground. It'll keep Taskwarrior data in special volume, so, you don't need to add test data after restart.
For common usage: make run builds docker image from sources and runs docker-compose service in foreground. It mounts local ~/.task and ~/.taskrc, so you have all your tasks there.
Related issue: #103
In this PR I added basic support for building docker containers and services. It should be changed in the future when we get repo on docker hub. After that we can officially support docker-based installation and running (which I prefer over local gem-based). I can push it to my personal account on docker hub, but we should discuss it.
For development:
make dev
builds docker image from sources and runs docker-compose service in foreground. It'll keep Taskwarrior data in special volume, so, you don't need to add test data after restart.For common usage:
make run
builds docker image from sources and runs docker-compose service in foreground. It mounts local~/.task
and~/.taskrc
, so you have all your tasks there.