2024-08-05 12:11:38 -04:00
|
|
|
files: "./files"
|
2024-08-10 00:58:31 -04:00
|
|
|
thumbnails: "./thumbnails"
|
|
|
|
generate_thumbnails: false
|
2024-08-05 12:11:38 -04:00
|
|
|
db: "./db.sqlite3"
|
|
|
|
db_table_name: "files"
|
|
|
|
filename_length: 3
|
|
|
|
# In MiB
|
|
|
|
size_limit: 512
|
|
|
|
port: 8080
|
2024-08-05 16:01:10 -04:00
|
|
|
# If you define the unix socket, it will only listen on the socket and not the port.
|
2024-08-08 02:33:38 -04:00
|
|
|
#unix_socket: "/tmp/file-uploader.sock"
|
2024-08-05 12:11:38 -04:00
|
|
|
# In days
|
|
|
|
delete_files_after: 7
|
|
|
|
# In seconds
|
|
|
|
delete_files_after_check_seconds: 1800
|
|
|
|
delete_key_length: 4
|
|
|
|
siteInfo: "Whatever you want to put here"
|
|
|
|
siteWarning: "WARNING!"
|
|
|
|
log_level: "debug"
|
|
|
|
|
|
|
|
blocked_extensions:
|
|
|
|
- "exe"
|