-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env
59 lines (42 loc) · 1.76 KB
/
.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
# Salt used for encryption. tbh i dont know if this helps at all since if
# someone has access to this file they can just read the salt
export PAWSTE_SALT="banana"
# the port the server will listen on
export PAWSTE_PORT=":9454"
# the directory to store the files
export PAWSTE_DATA_DIR="pawste_data/"
# admin password for the server
export PAWSTE_ADMIN_PASSWORD="admin"
# is the list public.
export PAWSTE_PUBLIC_LIST="true"
# public url for the server
export PAWSTE_PUBLIC_URL="http://localhost:9454"
# should file upload be enabled
export PAWSTE_FILE_UPLOAD="true"
# max bytes for a file upload
# if multiple files are uploaded the total size
# enter a number or a multiplication expression
export PAWSTE_MAX_FILE_SIZE="1024 * 1024 * 10"
export PAWSTE_MAX_ENCRYPTED_FILE_SIZE="1024 * 1024 * 10"
# max content length for a paste
export PAWSTE_MAX_CONTENT_LENGTH="1024 * 1024 * 10"
# is a password needed to upload a file
# "" means no password is needed
export PAWSTE_UPLOADING_PASSWORD=""
# disable never expiring pastes
export PAWSTE_DISABLE_ETERNAL_PASTE="false"
# disable read count
export PAWSTE_DISABLE_READ_COUNT="false"
# disable burn after
export PAWSTE_DISABLE_BURN_AFTER="false"
# default expiration time for pastes
# valid options 10min, 1min, 1h, 6h, 24h, 72h, 1w, never
export PAWSTE_DEFAULT_EXPIRY="1w"
# animal-animal-animal to something shorter, random characters
export PAWSTE_SHORT_PASTE_NAMES="false"
# url redirects pastes will have shortened urls, so basically above but only for redirects
export PAWSTE_SHORTEN_REDIRECT_PASTES="false"
# this will delete the database and create a new one
# only set this to true if you understand what it does
# mostly for testing i guess until i figure out a better way to do this
# export PAWSTE_I_UNDERSTAND_THE_RISKS="false"