Skip to content

[FR] Docker - create volume for inventree-cache (redis) #10977

@B-z-F

Description

@B-z-F

Please verify that this feature request has NOT been suggested before.

  • I checked and didn't find a similar feature request

Problem statement

Each start of inventree creates temporary volume with dump.rdb.

Suggested solution

The volumes declaration for inventree-cache (redis) is missing in docker-compose.yml. Redis is enabled by default (INVENTREE_CACHE_ENABLED=True in .env), even though docker-compose.yml says otherwise (redis as the cache manager (optional, disabled by default)). /data from redis should be in volume.

Describe alternatives you've considered

.

Examples of other systems

No response

Do you want to develop this?

  • I want to develop this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dockerDocker / docker-composeenhancementThis is an suggested enhancement or new featuresetupRelates to the InvenTree setup / installation process

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions