Skip to content

Latest commit

 

History

History
65 lines (52 loc) · 1.89 KB

README.md

File metadata and controls

65 lines (52 loc) · 1.89 KB

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