2023-10-01 03:39:06 +02:00
|
|
|
# The number of workers the server will use. Flask recommends (cpu count * 2) as a baseline.
|
2023-09-29 22:31:32 +02:00
|
|
|
WORKERS=4
|
2023-10-01 03:39:06 +02:00
|
|
|
# The secret key used for tokens. You can generate one with (for example) `openssl rand -base64 48`.
|
|
|
|
SECRET_KEY=change-me-insecure!-Fj+4Y8afr3TzLpG1bkSYQxEVrhGPr5nokxBs9JPxfuvv
|
|
|
|
# The database file used
|
|
|
|
DATABASE=data/db.sqlite
|
|
|
|
|
|
|
|
# The base URL used for uploaded files.
|
|
|
|
# This should include the schema (http:// or https://) and not have a trailing slash.
|
|
|
|
BASE_URL=http://localhost:5000
|
|
|
|
|
|
|
|
# The storage backend used, can be 'local' or 's3'
|
|
|
|
STORAGE_BACKEND=local
|
|
|
|
# The directory files are uploaded to with the local setting, relative to the working directory.
|
|
|
|
STORAGE_LOCAL_DIR=data/uploads
|
|
|
|
|
|
|
|
# The maximum uploaded file size, in megabytes. Setting this to 0 or a negative number allows unlimited file sizes.
|
|
|
|
MAX_FILE_SIZE=15
|
|
|
|
# The maximum content length Flask will accept. This should generally be slightly higher than MAX_FILE_SIZE.
|
|
|
|
MAX_CONTENT_LENGTH=16
|