2022-05-17 22:17:56 +03:00
|
|
|
## [ Required Variables ]
|
2022-05-17 03:20:31 +03:00
|
|
|
|
2022-05-17 22:17:56 +03:00
|
|
|
# ! The domain base of your app, this should not end in a trailing slash
|
|
|
|
DOMAIN_BASE=http://localhost:8080
|
|
|
|
|
|
|
|
## ? Functionality Changes, these are optional but recommended to setup as you like
|
|
|
|
# The maximum map caching, from my testing 15 would reach 250mb of ram usage on docker
|
|
|
|
CACHE_MAP_LIMIT=15
|
2022-05-20 00:46:14 +03:00
|
|
|
|
|
|
|
# The folder in which to store all of the pads, please leave a trailing slash
|
|
|
|
PAD_STORAGE_PATH=./data/
|
|
|
|
|
2022-05-17 22:17:56 +03:00
|
|
|
# Maximum API call requests to the API, this will ban the api for 5 minutes after requesting more than API_RATE_LIMIT in 5 minutes.
|
|
|
|
API_BAN_LIMIT=300
|
2022-05-20 00:46:14 +03:00
|
|
|
|
|
|
|
# Wether or not to run it all in dev-mode
|
2022-05-20 01:40:21 +03:00
|
|
|
DEV_MODE=0
|
|
|
|
|
2022-05-20 01:59:53 +03:00
|
|
|
# Maximum file storage age in minutes, set to -1 to disable
|
2022-05-21 17:41:43 +03:00
|
|
|
CLEANUP_MAX_AGE=43200 # Default is a month
|
|
|
|
|
|
|
|
# Maximum pad file lenght, this is in characters, a character is one byte.
|
|
|
|
# Default: 524288 ( 500kb )
|
2022-06-02 23:53:32 +03:00
|
|
|
MAXIMUM_PAD_SIZE=524288
|
|
|
|
|
|
|
|
# Your admin access token
|
|
|
|
# If the value is not defined the admin interface will not be available
|
|
|
|
# ADMIN_TOKEN=SUPER_SECRET_ADMIN_TOKEN
|