-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
29 lines (28 loc) · 1.36 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
version: "3"
services:
trackonio:
container_name: trackonio
image: krowone9/trackonio
#build:
# context: .
# args:
# CRON_HOUR: ${CRON_HOUR:-9}
# CRON_MINUTE: ${CRON_MINUTE:-0}
restart: always
volumes:
- /etc/localtime:/etc/localtime:ro
environment:
- PERSONIO_HOST=${PERSONIO_HOST:-personio.personio.de} # company.personio.de
- PERSONIO_USERNAME=${PERSONIO_USERNAME} # [email protected]
- PERSONIO_PASSWORD=${PERSONIO_PASSWORD}
- PERSONIO_COOKIE=${PERSONIO_COOKIE}
# TODO: Query Calendar ID when API v2 is released with this feature: https://developer.personio.de/discuss/61d860f5f3dd510347146908
- CALENDAR_ID=${CALENDAR_ID:-59097} #Barcelona:59097 & Madrid:8868
- WORK_START_TIME=${WORK_START_TIME:-09} # 24h format [00-23]. Double digit with 0 padding if neccessary!
- WORK_DURATION=${WORK_DURATION:-8} # In Hours
- WORK_SATURDAY=${WORK_SATURDAY:-False}
- WORK_SUNDAY=${WORK_SUNDAY:-False}
- BREAK_START_TIME=${BREAK_START_TIME:-13} # 24h format [00-23]. Double digit with 0 padding if neccessary!
- BREAK_DURATION=${BREAK_DURATION:-60} # In Minutes
- RANDOM_TIMES_DELTA=${RANDOM_TIMES_DELTA:-0} # Number of random +/- minutes of start time
- RANDOM_DURATIONS_DELTA=${RANDOM_DURATIONS_DELTA:-0} # Number of random +/- minutes of durations