1
0
mirror of https://github.com/JustKato/FreePad.git synced 2026-02-23 15:50:46 +02:00
Files
FreePad/.env.example
2022-05-20 01:40:21 +03:00

20 lines
690 B
Plaintext

## [ Required Variables ]
# ! 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
# The folder in which to store all of the pads, please leave a trailing slash
PAD_STORAGE_PATH=./data/
# 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
# Wether or not to run it all in dev-mode
DEV_MODE=0
# Maximum file storage age in minutes
CLEANUP_MAX_AGE=1