2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-27 23:46:33 +01:00
Files
dockerfiles_vimagick/taskd/README.md
2015-06-26 21:49:21 +08:00

59 lines
1.2 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

`Taskwarrior` is Free and Open Source Software that manages your TODO list from
your command line. It is flexible, fast, efficient, and unobtrusive. It does
its job then gets out of your way.
## directory tree
```
~/fig/taskd/
├── docker-compose.yml
└── taskd/
   ├── ca.cert.pem
   ├── ca.key.pem
   ├── client.cert.pem
   ├── client.key.pem
   ├── config
   ├── orgs
   │   └── datageek
   │   ├── groups
   │   └── users
   │   └── 77b21131-e4b8-496a-a0e0-eafb75135221
   │   └── config
   ├── server.cert.pem
   ├── server.crl.pem
   └── server.key.pem
```
## docker-compose.yml
```
taskd:
image: vimagick/taskd
ports:
- "53589:53589"
volumes:
- taskd:/var/taskd
restart: always
```
## server
```
$ cd ~/fig/taskd/
$ docker-compose up -d
$ docker exec -it taskd_taskd_1 sh
>>> taskd add org datageek
>>> taskd add user datageek kev
>>> exit
$ tree
```
## client
```
$ brew install task --with-gnutls
$ cd ~/.task
$ scp server:fig/taskd/taskd/{ca-cert,client-cert,client-key}.pem .
$ task sync init
```