Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
45 lines (34 loc) · 2.14 KB
/
Copy path.env.example
File metadata and controls
45 lines (34 loc) · 2.14 KB
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
# all values are optional
# port to run the server on
# default 24153
PORT=24153
# if set, vertd will attempt to notify you via a discord webhook when a video fails to convert.
# for help on how to create them, see https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks
WEBHOOK_URL=your_discord_webhook_here
# webhook pings -- these will be formatted into the main message
WEBHOOK_PINGS="<@&role_id> <@user_id>"
# if true, vertd will attempt to retry failed conversions on the CPU before giving up (if original conversion was on GPU).
# this will reduce the number of failed conversions drastically (especially failures due to decoder/encoder limitations),
# but at the cost of much longer conversion times and strain on the CPU and RAM (especially for large videos and many concurrent conversions).
ALLOW_CPU_FALLBACK=true
# if set, vertd will limit the size of uploaded videos to this many bytes. if not set (or set to 0), there is no limit.
# for example: 2gib = 2147483648, 10mib = 10485760
# note: please communicate to your users if you set this limit, preferably changing the language on the site to reflect it.
# of course, our official vertd instances have no limit <3
MAX_UPLOAD_BYTES=0
# admin password for kept videos. i will cry in front of you if you tell me this is bad practice.
# make sure to set this to something unique and hard to guess! ideally really really long too
ADMIN_PASSWORD=supersecret
# used for kept video access
PUBLIC_URL=https://vertd.your-domain.here
# CORS origins setup
# Can either be "*" or comma separated origins: "https://origin1.com,https://origin2.com"
# If not defined, fall back automatically to *
CORS_ORIGINS=*
# advanced settings here, you likely don't want to uncomment & change these unless you have issues.
# sets the va-api device path, mainly for Intel and AMD GPU users on linux.
# most setups don't need to change this - vertd defaults to /dev/dri/renderD128
#VERTD_VAAPI_DEVICE_PATH=/dev/dri/renderD128
# forces the GPU type that vertd uses for conversions, if it detects no GPU / the wrong GPU.
# valid values are "nvidia", "amd", "intel", "apple", and "cpu" for software encoding.
#VERTD_FORCE_GPU=cpu