Change dev listener example to use global address

This commit is contained in:
Jeff Mitchell 2017-02-24 15:25:07 -05:00
parent 6164124122
commit 1e89e81374
1 changed files with 2 additions and 2 deletions

View File

@ -37,12 +37,12 @@ This runs a completely in-memory Vault server, which is useful for development b
When running in development mode, two additional options can be set via environment variables:
- `VAULT_DEV_ROOT_TOKEN_ID`: This sets the ID of the initial generated root token to the given value
- `VAULT_DEV_LISTEN_ADDRESS`: This sets the IP:port of the development server listener
- `VAULT_DEV_LISTEN_ADDRESS`: This sets the IP:port of the development server listener (defaults to 0.0.0.0:8200)
As an example:
```console
$ docker run --cap-add=IPC_LOCK -e 'VAULT_DEV_ROOT_TOKEN_ID=myroot' -e 'VAULT_DEV_LISTEN_ADDRESS=127.0.0.1:1234' vault
$ docker run --cap-add=IPC_LOCK -e 'VAULT_DEV_ROOT_TOKEN_ID=myroot' -e 'VAULT_DEV_LISTEN_ADDRESS=0.0.0.0:1234' vault
```
## Running Vault in Server Mode