Docker image of OneList
{
"token": "<refresh_token>",
"location_path": "/",
"start_directory": "/",
"threads": 3,
"diff_seconds": 480,
"refresh_seconds": 720,
"metadata_cached_seconds": 768,
"structure_cached_seconds": 840
}
Then run it by command:
# docker run -v /data/OneList/config.json:/root/OneList/config.json -p 5000:5000 benzbrake/onelist
Click this link on your computer browser, login with your sharepoint account, then your browser would be redirected to show the refresh_token:
Create docker-compose.yml
and create config.json
example of docker-compose.yml
,
version: '3'
services:
onelist:
image: benzbrake/onelist
container_name: onelist
restart: always
volumes:
- /data/config.json:/root/OneList/config.json
ports:
- 5000:5000
Then use commanddocker-compose [-f location of docker-compose.yml] up -d
to run OneList.
BTW, you can change the location of config as you want.
Copy as you want.