Files
flees/data/config.json.example
2018-09-11 21:02:07 +03:00

29 lines
1.0 KiB
JSON

{
"__comment": [
"public_url: used for displaying REST API URLs in the command line utility",
"workers: number of parallel processes. single long upload reserves a process.",
"timeout: seconds for process to last. single long upload cant take longer than this.",
"uid: Docker runs as root, this changes owner of written files. -1 to skip chowning",
"max_zip_size: dont allow zip downloads if folder size exceeds this many megabytes",
"app_secret_key: used to encrypt session cookie"
],
"public_url": "https://my.server.com/flees",
"site_name": "File sharing",
"workers": 8,
"timeout": 3600,
"uid": 1000,
"gid": -1,
"max_zip_size": 1000,
"app_secret_key": "Cz2dw5NiRt3PSMFBSLTAJJi7kKrc4QU2CdQqEeOaU6",
"notifier": "",
"__do_not_edit": "most likely you will not change anything after this line",
"data_folder": "data",
"shares_file": "data/shares.json",
"log_file": "data/flees.log",
"version_folder": "_version",
"zip_folder": "data/.zip",
"date_format": "%Y-%m-%d %H:%M",
"debug": false
}