feat(docker): simplify docker compose for end users

The previous docker-compose requires end user to manually handle
permissions of taskchampion data dir. And this commit has directories
automatically set up in docker-entrypoint.sh, just like what
postgresql did in https://github.com/docker-library/postgres/blob/master/docker-entrypoint.sh
This commit is contained in:
adamanteye 2025-03-01 04:15:23 +08:00
parent 8508d517a6
commit b2dbfb12f1
No known key found for this signature in database
GPG key ID: FC012E34C8FFF4AB
4 changed files with 39 additions and 56 deletions

7
.dockerignore Normal file
View file

@ -0,0 +1,7 @@
*
!Cargo.toml
!Cargo.lock
!core/
!server/
!sqlite/
!docker-entrypoint.sh