Skip to content

Consider to remove the code bind-mounts from examples #337

@pabzm

Description

@pabzm

We currently use a bind-mount for the base directory in all our examples.

For ephemeral containers this should be only done if there's a good reason for it – which I don't see.

  • Additional plugins could be mounted individually (or through a mounted plugins/ directory at least).
  • Additional config should be provided through mounting it to /var/roundcube/config, as we already suggest.

Additionally, depending on the platform, serving files from a mounted directory can be pretty slow.

@thomascube explained the history of this case.

From that I figure that we should remove the bind-mounts for the base directory from all our examples. In the FPM-examples we can replace them with an "internal" (non-mounted) volume used by both containers.

Any thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions