-
Notifications
You must be signed in to change notification settings - Fork 18
/
docker-compose.yml
62 lines (49 loc) · 2.13 KB
/
docker-compose.yml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
version: '3.0'
services:
blackvuesync:
image: acolomba/blackvuesync
container_name: blackvuesync
restart: unless-stopped
volumes:
# Recording download destination. Change only the part before the colon.
- /mnt/dashcam:/recordings:rw
environment:
# Dashcam address
# ADDRESS: dashcam.example.net
# Set these to the desired destination directory's user id and group id.
PUID: 1000
PGID: 1000
# Set to the same timezone as the dashcam. Note that BlackVue dashcams do
# not respect Daylight Savings Time, so their clock needs to be adjusted
# periodically. For the complete list of possible values, see:
# https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
TZ: America/New_York
# Priority to download recordings. Pick "date" to download from oldest to
# newest; pick "rdate" to download from oldest to newest; pick "type" to
# download manual, event (all types), normal and parking recordings in
# that order.
PRIORITY: date
# Groups downloaded recordings in directories: 'daily', 'weekly',
# 'monthly', 'yearly' and 'none' are supported.
GROUPING: none
# Retention period of downloaded recordings. Recordings prior to the
# retention period will be removed from the destination. Accepted units
# are 'd' for days and 'w' for weeks. If no unit is indicated, days are
# assumed.
KEEP: 2w
# Stops downloading if the amount of used disk space exceeds the indicated
# percentage value.
MAX_USED_DISK: 90
# Sets the timeout in seconds for connecting to the dashcam.
TIMEOUT: 10.0
# Set to a number greater than zero to increase logging verbosity.
VERBOSE: 0
# Set to any value to quiet down logs: only unexpected errors will be
# logged.
QUIET: ''
# Makes it so downloads of normal recordings and unexpected error
# conditions are logged. Can be set to '' to disable.
CRON: 1
# If set to any value, makes it so that the script communicates what it
# would do without actually doing anything.
DRY_RUN: ''