improve readme

This commit is contained in:
simonfelding 2024-07-01 23:19:03 +02:00 committed by GitHub
parent df3761cf33
commit e9f3d0e1f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -95,10 +95,10 @@ That's it. The `Dockerfile` and bash scripts handle all the downloading, buildin
## 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
docker run -d --name=protonmail-bridge -v protonmail:/root -e cache_enabled=false shenxn/protonmail-bridge
```
**variable**|**description**|**default**
**variable**|**description**|**values**
-- | -- | --
cache_enabled|Controls if the mail cache is enabled in the prefs.json file.|true
cache_enabled|Controls if the mail cache is enabled in the prefs.json file.|true/false