-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
75 lines (63 loc) · 1.86 KB
/
Copy path.env.example
File metadata and controls
75 lines (63 loc) · 1.86 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
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
#?
#? Rename this file to ".env" and edit the values as needed.
#?
#?####################
#? VARIABLE STRUCTURE:
#?####################
#? [ default ] : type < min - max >
#? ^ ^ ^
#? | | |
#? | | +---- RANGE between two values (inclusive)
#? | +-------------- TYPE of the variable
#? +------------------------ DEFAULT value if not set
#?
#?###################
#? COMMENT STRUCTURE:
#?###################
#? "#?#...", "###..." for section headers
#? "#?" for help
#? "##" for description
#? "#" for variable definitions
#?
## Log level: [3]:integer<0-4>
#? 0=none, 1=error, 2=warn, 3=info, 4=debug
#JSPB_LOG_VERBOSITY=3
## Include timestamps in logs?: [true]:boolean
#JSPB_LOG_TIME=true
## Hostname to bind: [::]:string
#JSPB_HOSTNAME=::
## Port to bind: [8080]:integer<0-65535>
#JSPB_PORT=8080
## API path prefix: [/api/]:string
#? Can be queried from "/.well-known/jspaste".
#JSPB_API=/api/
############
## DOCUMENT:
############
## Maximum size per document: [1mb]:string
#? 0=disabled, units: b/k(i)b/m(i)b/g(i)b/t(i)b
#JSPB_DOCUMENT_SIZE=1mb
## Compress document?: [true]:boolean
#? It doesn't apply retroactively to existing documents.
#JSPB_DOCUMENT_COMPRESSION=true
## Delete documents older than: [0]:string
#? 0=disabled, units: s/m/h/d/w/M/y
#JSPB_DOCUMENT_AGE=0
## Delete anonymous documents older than: [7d]:string
#? 0=disabled, units: s/m/h/d/w/M/y
#JSPB_DOCUMENT_ANONYMOUS_AGE=7d
########
## USER:
########
## Allow user registration?: [true]:boolean
#? Root user can always create new users.
#JSPB_USER_REGISTER=true
## Restore the root user?: [false]:boolean
#? Make sure to disable this again after successful recovery.
#JSPB_USER_ROOT_RECOVERY=false
########
## TASK:
########
## Cleanup task cron schedule: [0 1 * * *]:string
#? https://crontab.guru/#0_1_*_*_*
#JSPB_TASK_SWEEPER=0 1 * * *