Skip to content

MaximilianKoestler/duc-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Duc-Service

Docker Build Status Docker Automated build Docker Pulls Docker Image Size

Run Duc in Docker and re-index the file system using a schedule.

The built docker images can be found on Docker Hub.

Features

  • Included scheduling for automatic scanning
  • Single-command deployment
  • Very small image footprint

Usage Example

docker run -e "SCHEDULE=0 0 * * *" -p 80:80 \
    --mount type=bind,src=/,dst=/scan/root,readonly \
    --mount type=volume,src=duc_database,dst=/database \
    mkoestler/duc-service

Parameters

SCHEDULE

A cron-expression that determines when an automatic scan is started.

Web Endpoints

  • /duc.cgi provides a web gui to explore the disk usage
  • /manual_scan.cgi queues a manual scan
  • /log.cgi displays the log output from the last scan

Developing

With docker-compose

Build:

docker-compose build

Run:

docker-compose up --build --detach

Without docker-compose

Build:

docker build . -t duc-service

Run:

docker run -e "SCHEDULE=0 0 * * *" -p 80:80 \
    --mount type=bind,src=/,dst=/scan/root,readonly \
    --mount type=volume,src=duc_database,dst=/database \
    duc-service

References

Similar Projects

About

Continuously monitor and explore disk space

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published