Security-Tools-Alliance / rengine-ng

reNgine-ng is an automated reconnaissance framework for web applications with a focus on highly configurable streamlined recon process via Engines, recon data correlation and organization, continuous monitoring, backed by a database, and simple yet intuitive User Interface.
GNU General Public License v3.0
68 stars 11 forks source link

build(docker): replace staticfiles volume to prevent empty directory #199

Closed psyray closed 2 months ago

psyray commented 2 months ago

Fix staticfiles empty in proxy container Staticfiles are the files for the UI (JS, CSS ...)

Summary by Sourcery

Fix the staticfiles volume configuration in the Docker Compose file to prevent the directory from being empty in the proxy container.

Bug Fixes:

sourcery-ai[bot] commented 2 months ago

Reviewer's Guide by Sourcery

This pull request modifies the Docker Compose configuration to fix an issue with empty staticfiles in the proxy container. The change involves updating the volume mapping for the proxy service to ensure that the staticfiles (JS, CSS, etc.) are properly accessible.

File-Level Changes

Change Details Files
Updated volume mapping for the proxy service in Docker Compose configuration
  • Replaced the specific staticfiles volume mapping with a more general web directory mapping
  • Changed the volume mapping from read-only to read-write
  • Added the 'z' option to the volume mapping for improved SELinux compatibility
docker/docker-compose.yml

Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - Continue your discussion with Sourcery by replying directly to review comments. - You can change your review settings at any time by accessing your [dashboard](https://app.sourcery.ai): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.