-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample.env
80 lines (53 loc) · 2.64 KB
/
sample.env
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# ########################################################################################
# crscheid/image-watcher Sample Configuration File
# ########################################################################################
# Required Parameters ####################################################################
# Storage method - These are the various storage methodologies that the system supports.
#
# Available Types:
#
# seafile - Utilizes a Seafile storage platform
# local - Utilizes the local file system
#
CAM_STORAGE_METHOD=local
CAM_STORAGE_DIRECTORY=/tmp/myfiles
# Image URLs - These are the URLs that the monitor will attempt to collect. The system
# supports setting of up to nine images from CAM_IMAGE_URL1 to CAM_IMAGE_URL9.
CAM_IMAGE_URL1=http://my.server.com/image1.jpg
CAM_IMAGE_URL2=http://my.server.com/image2.jpg
CAM_IMAGE_URL3=http://my.server.com/image4.png
# ...
CAM_IMAGE_URL9=http://someother.server.com/image5.gif
# Optional Parameters ####################################################################
# GENERAL CONFIGURATION
## Change the PHP timezone for logging (Default: UTC)
# CAM_PHP_TIMEZONE="America/New_York"
## Turns on more verbose logging
# CAM_LOG_DEBUG=true
## The maximum width of the composited image (Default: 1280)
# CAM_MAX_WIDTH=1024
## The JPG compression quality of the composited image (Default: 80)
# CAM_OUTPUT_QUALITY=70
## The interval of time in seconds between image creation (Default: 60)
# CAM_INTERVAL_TIME_SECS=120
## The interval of time in minutes to regularly check for older images to be removed (Default: 60)
# CAM_CLEAN_TIME_MINS=60
## The period in hours over which to retain images (Default: 24)
# CAM_RETENTION_TIME_HOURS=48
## The path to a TrueType font to be utilized for the overlay (Default: /usr/share/fonts/truetype/droid/DroidSans-Bold.ttf)
# CAM_FONT="/usr/share/fonts/truetype/droid/DroidSans-Bold.ttf"
## The hexadecimal color value for the font overlay (Default: #FF0000)
# CAM_FONT_COLOR="#00FF00"
## The point size for the font overlay (Default: 12)
# CAM_FONT_SIZE=12
# SEAFILE CONFIGURATION
# Seafile URL
CAM_SEAFILE_URL=https://your.seafile.server:port
# API Token for accessing your seafile instance
CAM_SEAFILE_APITOKEN=bdd85f2c047ca6ea52b173efe8c872b25e38776d
# The ID of the library on your seafile server you which to use
CAM_SEAFILE_LIBRARY_ID=4cd24bc0-a274-4f90-cf7d-23adfb5f8154
## If the seafile library is encrypted, provide the encryption key in this variable
# CAM_SEAFILE_ENCRYPTION_KEY=MUUq2Aq2tyKxwjerjAaxaTTfpjDVCk
## If the seafile library is encrypted, then provide the credentials on a regular schedule (Default: 60)
# CAM_SEAFILE_ENCRYPT_TIMEOUT_MINS=30