-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathutuputki.conf.dist
68 lines (54 loc) · 1.76 KB
/
utuputki.conf.dist
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
# This is a sample configuration file for Utuputki2
[utuputki]
# Server port
# Default is 8000
PORT=8000
# Address to bind to
# Default is 0.0.0.0 (Bind to all interfaces)
BIND_ADDRESS=127.0.0.1
# Source URL for your videos.
# This needs to point to the URL of your server, at which the video files are available.
# Default is http://localhost:8000/video/ for local testing.
#SOURCE_URL=https://www.mydomain.com/utuputki/video/
SOURCE_URL=http://localhost:8000/video/
# Current timezone.
# Default is Europe/Helsinki
TIMEZONE=Europe/Helsinki
# Only set on development boxes.
# Default is False
DEBUG=False
# Database access string. See SQLAlchemy for more info
# By default we try to use a local sqlite database
DATABASE_CONFIG=mysql://username:password@localhost/databasename
# AMQP broker url. See RabbitMQ configuration for more info.
# Default is amqp://guest:guest@localhost:5672//
AMQP_URL=amqp://guest:guest@localhost:5672/utuputki
# Logging level
# 0 = Debug
# 1 = Info
# 2 = Warning
# 3 = Error
# 4 = Critical
# Default is 2
LOG_LEVEL=1
# Note that the directory must exist!
# If DEBUG = True, this will be ignored and errors go to stdout.
# Default is /var/log/utuputki/utuputki-ui.log
LOG_FILE=/var/log/utuputki/utuputki-ui.log
# This is where the converted files are stored. This should be persistent storage!
# Default is /tmp
# CACHE_DIR=/mnt/storage/utuputki2/cache
CACHE_DIR=/tmp
# This is a temporary cache for files. Should be cleared every now and then.
# Default is /tmp
# CACHE_DIR=/mnt/storage/utuputki2/tmp
TMP_DIR=/tmp
# Limit video/audio duration (in seconds)
# Default is 1800
LIMIT_DURATION = 900
# Limit video filesize (in bytes)
# Default is 90MB
LIMIT_VIDEO_SIZE = 134217728
# Limit audio filesize (in bytes)
# Default is 10MB
LIMIT_AUDIO_SIZE = 10485760