Skip to content

Ways to move letsencrypt storage to /data volume #3170

@iBobik

Description

@iBobik

Hello, I create addon for Home Assistant OS which are just Docker image with some integration around.

For it I need to have all persistent data stored only in /data, other volumes will not survive recreate.

But there is an issue with /etc/letsencrypt - it is volume, so I cannot create symlink for it in my image (using your image as base).

Describe the solution you'd like
I would like to remove /etc/letsencrypt from VOLUME in the Dockerfile.

VOLUME [ "/data", "/etc/letsencrypt" ]

Or have the directory configurable, but this seems more work.

Describe alternatives you've considered
There is option to not use this image as a base, but copy&paste its content to my Dockerfile, but this will be maintenance hell.

Thank you for help. I can do PR if you confirm the solution.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions