feat: disable Vault UI in local testing and compose setup
- Set `ui` to `false` in test_local.sh and docker-compose.yml. - This change ensures the Vault UI is disabled for local tests. - Helps streamline configurations for non-UI testing environments.
This commit is contained in:
parent
430970b375
commit
5c0dcdb97a
|
@ -5,7 +5,7 @@ services:
|
|||
ports:
|
||||
- "8200:8200"
|
||||
environment:
|
||||
- 'VAULT_LOCAL_CONFIG={"storage": {"file": {"path": "/vault/file"}}, "listener": {"tcp": {"address": "0.0.0.0:8200", "tls_disable": true}}, "ui": true, "disable_mlock": true}'
|
||||
- 'VAULT_LOCAL_CONFIG={"storage": {"file": {"path": "/vault/file"}}, "listener": {"tcp": {"address": "0.0.0.0:8200", "tls_disable": true}}, "ui": false, "disable_mlock": true}'
|
||||
cap_add:
|
||||
- IPC_LOCK
|
||||
volumes:
|
||||
|
@ -45,4 +45,4 @@ volumes:
|
|||
|
||||
networks:
|
||||
vault-net:
|
||||
driver: bridge
|
||||
driver: bridge
|
||||
|
|
|
@ -54,7 +54,7 @@ listener "tcp" {
|
|||
}
|
||||
|
||||
disable_mlock = true
|
||||
ui = true
|
||||
ui = false
|
||||
EOF
|
||||
|
||||
vault server -config=/tmp/vault-test/config/vault.hcl > ./vault_server.log 2>&1 &
|
||||
|
|
Loading…
Reference in a new issue