mirror of
https://github.com/shenxn/protonmail-bridge-docker.git
synced 2025-12-06 08:27:08 +00:00
build: fix environment name
Signed-off-by: Jeffrey Stoke <me@arhat.dev>
This commit is contained in:
parent
da0dfab9d3
commit
dbcf6d27b0
12
README.md
12
README.md
@ -35,12 +35,12 @@ There are two types of images.
|
||||
|
||||
## Environment Variables for images with `build` in tag
|
||||
|
||||
| Name | Description | Default Value |
|
||||
| --------------------- | ----------------------------------------------------------------------------------- | ------------- |
|
||||
| `PROTONMAIL_USERNAME` | your protonmail account username | (not set) |
|
||||
| `PROTONMAIL_PASSWORD` | the password for your protonmail account | (not set) |
|
||||
| `MASTER_PASSWORD` | the master password for the internal password manager required by protonmail-bridge | `pass-key` |
|
||||
| `GNUPGHOME` | change the defulat `/root/.gnupg` to this directory as a workaround for gpg error | `/tmp/gnupg` |
|
||||
| Name | Description | Default Value |
|
||||
| --------------------- | --------------------------------------------------------------------------------- | ------------- |
|
||||
| `PROTONMAIL_USERNAME` | your protonmail account username | (not set) |
|
||||
| `PROTONMAIL_PASSWORD` | the password for your protonmail account | (not set) |
|
||||
| `KEY_ID` | the pgp-id for the internal password manager required by protonmail-bridge | `pass-key` |
|
||||
| `GNUPGHOME` | change the defulat `/root/.gnupg` to this directory as a workaround for gpg error | `/tmp/gnupg` |
|
||||
|
||||
## Initialization
|
||||
|
||||
|
||||
@ -20,7 +20,7 @@ if [[ $1 == init ]]; then
|
||||
|
||||
# Initialize pass
|
||||
gpg --generate-key --batch /protonmail/gpgparams
|
||||
pass init "${MASTER_PASSWORD:-"pass-key"}"
|
||||
pass init "${KEY_ID:-"pass-key"}"
|
||||
|
||||
# Login
|
||||
do_login="/protonmail/proton-bridge --cli $*"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user