From 5f299db3a9dfdf025e7afa1befdfe331e9d675e8 Mon Sep 17 00:00:00 2001 From: simonfelding <45149055+simonfelding@users.noreply.github.com> Date: Mon, 1 Jul 2024 23:04:58 +0200 Subject: [PATCH] Update README.md --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index e772fde..216f2e4 100644 --- a/README.md +++ b/README.md @@ -91,3 +91,14 @@ docker build . ``` That's it. The `Dockerfile` and bash scripts handle all the downloading, building, and packing. You can also add tags, push to your favorite docker registry, or use `buildx` to build multi architecture images. + +## Environment variables +Environment variables can be set in the docker-compose.yaml file or in the command line using `-e $variable_name=true`. +``` +docker run -d --name=protonmail-bridge -v protonmail:/root -e cache_enabled=true shenxn/protonmail-bridge +``` + +**variable**|**description**|**default** +-- | -- | -- +cache_enabled|Controls if the mail cache is enabled in the prefs.json file.|false +