Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benzbrake/docker-onelist
Run OneList on Docker
https://github.com/benzbrake/docker-onelist
Last synced: 5 days ago
JSON representation
Run OneList on Docker
- Host: GitHub
- URL: https://github.com/benzbrake/docker-onelist
- Owner: benzBrake
- Created: 2019-05-04T08:02:54.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-04T11:46:03.000Z (over 5 years ago)
- Last Synced: 2024-10-30T10:12:58.795Z (about 2 months ago)
- Language: HTML
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker-OneList
Docker image of [OneList](https://github.com/benzBrake/Docker-OneList)
## Get Started
### Create a config file
```json
{
"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:
```shell
# docker run -v /data/OneList/config.json:/root/OneList/config.json -p 5000:5000 benzbrake/onelist
```### How to get refresh_token
Click this link on your computer browser, login with your sharepoint account, then your browser would be redirected to show the refresh_token:
>
## Run by docker-compose
Create `docker-compose.yml` and create `config.json`
example of `docker-compose.yml`,
```yaml
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 command`docker-compose [-f location of docker-compose.yml] up -d ` to run OneList.
BTW, you can change the location of config as you want.
## License
Copy as you want.