Update README.md

This commit is contained in:
simonfelding 2024-07-01 23:04:58 +02:00 committed by GitHub
parent 38600e9a05
commit 5f299db3a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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