Skip to content

xutyxd/diskio-server

Repository files navigation

diskio logo

DiskIO Server

A server for diskio-core exposed with OpenAPI. Allows to upload and download files using the diskio-core API.

📦 Packages

Get the package from npm

npm install diskio-api

📝 Documentation

Read the documentation here

🐳 Docker

Get the image from Docker Hub

docker pull xutyxd/diskio

Example to run the server

Environment variables:

  • DISKIO_PATH: DiskIO path
    • Default: ./diskio
  • DISKIO_SIZE: DiskIO size
    • Default: 1024 * 1024 * 1024 * 10 (10GB)
  • DISKIO_DEPTH: DiskIO depth (depth of directories, allowed 1 to 5)
    • Default: 3
  • PORT: Port to run the server
    • Default: 8080
docker run -v ./diskio:/user/src/app/diskio -p 8080:8080 xutyxd/diskio:latest

Note: The diskio folder must be created before running the server or error will be thrown.

📝 License

This project is licensed under the AGPL-3.0 license - see the LICENSE file for details

Made with ☕ by XutyXD

About

Server to implement diskio package to manage files

Topics

Resources

License

Stars

Watchers

Forks