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
|
## Environment Variables for images with `build` in tag
|
||||||
|
|
||||||
| Name | Description | Default Value |
|
| Name | Description | Default Value |
|
||||||
| --------------------- | ----------------------------------------------------------------------------------- | ------------- |
|
| --------------------- | --------------------------------------------------------------------------------- | ------------- |
|
||||||
| `PROTONMAIL_USERNAME` | your protonmail account username | (not set) |
|
| `PROTONMAIL_USERNAME` | your protonmail account username | (not set) |
|
||||||
| `PROTONMAIL_PASSWORD` | the password for your protonmail account | (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` |
|
| `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` |
|
| `GNUPGHOME` | change the defulat `/root/.gnupg` to this directory as a workaround for gpg error | `/tmp/gnupg` |
|
||||||
|
|
||||||
## Initialization
|
## Initialization
|
||||||
|
|
||||||
|
|||||||
@ -20,7 +20,7 @@ if [[ $1 == init ]]; then
|
|||||||
|
|
||||||
# Initialize pass
|
# Initialize pass
|
||||||
gpg --generate-key --batch /protonmail/gpgparams
|
gpg --generate-key --batch /protonmail/gpgparams
|
||||||
pass init "${MASTER_PASSWORD:-"pass-key"}"
|
pass init "${KEY_ID:-"pass-key"}"
|
||||||
|
|
||||||
# Login
|
# Login
|
||||||
do_login="/protonmail/proton-bridge --cli $*"
|
do_login="/protonmail/proton-bridge --cli $*"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user