Sign inSign up

mkoestler/duc-service

By mkoestler

Updated 11 months ago

A simple to use containerized version of Duc. Explore disk utilization with a single command.

Image
0

10K+

mkoestler/duc-service repository overview

Duc-Service

Docker Image Version 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

Tag summary

Content type

Image

Digest

sha256:9e6a0ae7d

Size

46 MB

Last updated

11 months ago

docker pull mkoestler/duc-service