OpenSign icon indicating copy to clipboard operation
OpenSign copied to clipboard

[Bug]: Unused web-root volume in docker-compose.yml

Open MrGuato opened this issue 9 months ago • 1 comments

Issue Description

Description

The docker-compose.yml file defines a volume named web-root, but this volume is not referenced in any of the services. If this is unused, it should be removed to clean up the configuration.

Expected Behavior

Expected Behavior

All defined volumes in docker-compose.yml should be used by at least one service. If a volume is declared but unused, it should be removed to prevent unnecessary resource allocation.

Current Behavior

Current Behavior

The web-root volume is declared in the volumes: section but is not mounted in any service. This results in an orphaned volume with no actual purpose.

Steps to reproduce

Steps to Reproduce

Open the docker-compose.yml file.

Look at the volumes: section:

volumes:
  data-volume:
  web-root:  # This volume is not used anywhere
  caddy_data:
  caddy_config:
  opensign-files:

Search for web-root usage in the file—it's not referenced anywhere.

Screenshots of the issue(optional)

Image

Operating System [e.g. MacOS Sonoma 14.1, Windows 11]

Windows11

What browsers are you seeing the problem on?

Microsoft Edge

What version of OpenSignâ„¢ are you seeing this issue on? [e.g. 1.0.6]

v2.12.0

What environment are you seeing the problem on?

Staging (staging-app.opensignlabs.com), Production (app.opensignlabs.com)

Please check the boxes that apply to this issue report.

  • [x] I have searched the existing issues & discussions to make sure that this is not a duplicate.

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct
  • [x] I have searched the existing issues & discussions to make sure that this is not a duplicate.

MrGuato avatar Feb 16 '25 19:02 MrGuato

@prafull-opensignlabs what are your thoughts on this?

andrew-opensignlabs avatar Feb 16 '25 19:02 andrew-opensignlabs