From 7bdb1a17b4515535af169f43cf161c601cf51a7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A1bio=20D=2E=20Batista?= Date: Wed, 2 Dec 2020 17:32:26 -0300 Subject: [PATCH] Fixes `S3_SYNC_FLAGS` documentation --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bc60d95..3fe6034 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,12 @@ docker run -d --name my-data-container \ ``` ### Deletion and sync -By default if there are files that are deleted in your local file system, those will be deleted remotely. If you wish to turn this off set the environment variable S3_SYNC_FLAGS=": + +By default if there are files that are deleted in your local file system, those will be deleted remotely. If you wish to turn this off, set the environment variable `S3_SYNC_FLAGS` to an empty string: + +```bash +docker run -d -e S3_SYNC_FLAGS="" elementar/s3-volume /data s3://mybucket/someprefix +``` ### Using Compose and named volumes