theunraveler / taskwarrior-web

A web interface for the Taskwarrior todo application. Because being a neckbeard is only fun sometimes.
http://theunraveler.github.com/taskwarrior-web
MIT License
526 stars 63 forks source link

🐳 Containerization #109

Closed Zebradil closed 6 years ago

Zebradil commented 6 years ago

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.