From bf444ee859d6c9ebd4593ae21fdb912aac6ea5c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Tue, 3 Jan 2023 12:51:44 +0100 Subject: [PATCH] add timetracker --- .env | 2 ++ timetracker.yml | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 timetracker.yml diff --git a/.env b/.env index 40ca74d..eddf895 100644 --- a/.env +++ b/.env @@ -20,3 +20,5 @@ CHANGEDETECTION_EXTERNAL_PORT=5200 CHANGEDETECTION_INTERNAL_PORT=5000 AUDIOBOOKSHELF_INTERNAL_PORT=80 AUDIOBOOKSHELF_EXTERNAL_PORT=13378 +TIMETRACKER_EXTERNAL_PORT=8003 +TIMETRACKER_INTERNAL_PORT=8000 diff --git a/timetracker.yml b/timetracker.yml new file mode 100644 index 0000000..472a8fd --- /dev/null +++ b/timetracker.yml @@ -0,0 +1,16 @@ +--- + version: "2.1" + services: + timetracker: + image: ${REGISTRY_URL}/timetracker + container_name: timetracker + environment: + - TZ=${TZ} + user: ${PUID} + group: ${PGID} + volumes: + - "${DOCKER_STORAGE_PATH}/timetracker/db.sqlite3:/home/timetracker/app/src/web/db.sqlite3" + ports: + - "${TIMETRACKER_EXTERNAL_PORT}:${TIMETRACKER_INTERNAL_PORT}" + restart: unless-stopped + \ No newline at end of file