1
0
Fork 0

add timetracker

This commit is contained in:
Lukáš Kucharczyk 2023-01-03 12:51:44 +01:00
parent 5e5d2748fb
commit bf444ee859
2 changed files with 18 additions and 0 deletions

2
.env
View File

@ -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

16
timetracker.yml Normal file
View File

@ -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