This repository was archived by the owner on Mar 8, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,19 +42,19 @@ You can also run the proxy as a [Docker container](https://hub.docker.com/r/secr
4242Assuming you have a SecretHub credential stored in the default ` $HOME/.secrethub ` location, you can run it with the credential mounted as a volume:
4343
4444```
45- docker run -p 8080:8080 --name secrethub -v $HOME/.secrethub:/secrethub secrethub/http-proxy
45+ docker run -p 127.0.0.1: 8080:8080 --name secrethub -v $HOME/.secrethub:/secrethub secrethub/http-proxy
4646```
4747
4848You can also pass in the credential as an environment variable:
4949
5050```
51- docker run -p 8080:8080 --name secrethub -e SECRETHUB_CREDENTIAL=$(cat $HOME/.secrethub/credential) secrethub/http-proxy
51+ docker run -p 127.0.0.1: 8080:8080 --name secrethub -e SECRETHUB_CREDENTIAL=$(cat $HOME/.secrethub/credential) secrethub/http-proxy
5252```
5353
5454If upon signup you've chosen to lock your credential with a passphrase, run the container with ` -it ` to get prompted for your passphrase.
5555
5656```
57- docker run -it -p 8080:8080 --name secrethub -e SECRETHUB_CREDENTIAL=$(cat $HOME/.secrethub/credential) secrethub/http-proxy
57+ docker run -it -p 127.0.0.1: 8080:8080 --name secrethub -e SECRETHUB_CREDENTIAL=$(cat $HOME/.secrethub/credential) secrethub/http-proxy
5858```
5959
6060Alternatively, the passphrase can be sourced from the ` SECRETHUB_CREDENTIAL_PASSPHRASE ` environment variable.
You can’t perform that action at this time.
0 commit comments