Sign inSign up

fensoft/duc

By fensoft

•Updated almost 4 years ago

Image
0

199

fensoft/duc repository overview

⁠Duc-Service

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

The sources can be found on github⁠.

⁠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 \
    fensoft/duc

⁠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

Tag summary

Content type

Image

Digest

sha256:326b5efcd…

Size

50.4 MB

Last updated

almost 4 years ago

docker pull fensoft/duc