From: Thomas Bruederli Date: Thu, 30 Jun 2022 20:22:19 +0000 (+0200) Subject: Remove db volume from alpine template X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=e3ebd0e063ead208f2dc01b3309c0fd901e8a432;p=roundcube-roundcubemail-docker.git Remove db volume from alpine template --- diff --git a/README.md b/README.md index 5c4c3ff..af2425c 100644 --- a/README.md +++ b/README.md @@ -43,8 +43,8 @@ The following env variables can be set to configure your Roundcube Docker instan `ROUNDCUBEMAIL_ASPELL_DICTS` - List of aspell dictionaries to install for spell checking (comma-separated, e.g. `de,fr,pl`). By default, the image will use a local SQLite database for storing user account metadata. -It'll be created inside the unnamed volume `/var/roundcube/db` and can be backed up from there. Please note that -this option should not be used for production environments. +It'll be created inside the container directory `/var/roundcube/db`. In order to persist the database, a volume +mount should be added to this path. Please note that this option should not be used for production environments. ### Connect to a Database diff --git a/fpm-alpine/Dockerfile b/fpm-alpine/Dockerfile index e9f7214..6c096b1 100644 --- a/fpm-alpine/Dockerfile +++ b/fpm-alpine/Dockerfile @@ -57,9 +57,6 @@ RUN set -ex; \ COPY --from=composer:2 /usr/bin/composer /usr/bin/composer -# expose these volumes -VOLUME /var/roundcube/db - # Define Roundcubemail version ENV ROUNDCUBEMAIL_VERSION 1.5.3 diff --git a/templates/Dockerfile-alpine.templ b/templates/Dockerfile-alpine.templ index 7ec5d2e..56e9f72 100644 --- a/templates/Dockerfile-alpine.templ +++ b/templates/Dockerfile-alpine.templ @@ -57,9 +57,6 @@ RUN set -ex; \ COPY --from=composer:2 /usr/bin/composer /usr/bin/composer %%EXTRAS%% -# expose these volumes -VOLUME /var/roundcube/db - # Define Roundcubemail version ENV ROUNDCUBEMAIL_VERSION %%VERSION%%