diff options
author | louiz’ <louiz@louiz.org> | 2017-08-19 13:18:32 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2017-08-19 13:18:56 +0200 |
commit | 49c86398a557856fb202c449790d0b4afffb1182 (patch) | |
tree | 042a579224b28076a5af5a941bace25ea62425a3 | |
parent | 2a62b8b0823435e14675ae9bbe281ddd37206fcf (diff) | |
download | biboumi-49c86398a557856fb202c449790d0b4afffb1182.tar.gz biboumi-49c86398a557856fb202c449790d0b4afffb1182.tar.bz2 biboumi-49c86398a557856fb202c449790d0b4afffb1182.tar.xz biboumi-49c86398a557856fb202c449790d0b4afffb1182.zip |
Change docker documentation regarding the database permissions
fix #3290
-rw-r--r-- | docker/biboumi/alpine/README.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docker/biboumi/alpine/README.md b/docker/biboumi/alpine/README.md index 4b9e1e5..806bdc5 100644 --- a/docker/biboumi/alpine/README.md +++ b/docker/biboumi/alpine/README.md @@ -61,8 +61,9 @@ Volumes The database is stored in the /var/lib/biboumi/ directory. If you don’t bind a local directory to it, the database will be lost when the container is stopped. If you want to keep your database between each run, bind it with the -v option, like this: **-v /srv/biboumi/:/var/lib/biboumi**. -Note: Due to a limitation in Docker, to be able to read and write into this database, make sure this mounted directory is owned by UID and GID 1001:1001, on the host. +Note: Due to a limitation in Docker, to be able to read and write into this database, make sure this mounted directory has the proper read and write permissions on the host: it can be owned by UID and GID 1000:1000, or use chmod to give permissions to everyone, for example. ``` -chown -R 1001:1001 database/ +chown -R 1000:1000 database/ +chmod 777 database/ ``` |