Remove db volume from alpine template
authorThomas Bruederli <redacted>
Thu, 30 Jun 2022 20:22:19 +0000 (22:22 +0200)
committerThomas Bruederli <redacted>
Thu, 30 Jun 2022 20:22:19 +0000 (22:22 +0200)
README.md
fpm-alpine/Dockerfile
templates/Dockerfile-alpine.templ

index 5c4c3ff6bd551ea321bc4ac3db7701aaee3b3a75..af2425cb3d3c75ea5b9279d510694a38e6143c0d 100644 (file)
--- 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
 
index e9f7214cb6e1117786b73a539f7137435d66090f..6c096b1f2714cb71b0b834464e19d584e3889d1b 100644 (file)
@@ -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
 
index 7ec5d2e0f57b9cc40f214f0020d3189ab2d38d63..56e9f72fd98d928728b2741715921bcf437d4ca8 100644 (file)
@@ -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%%
 
git clone https://git.99rst.org/PROJECT