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:
Harald Hoyer 2025-03-20 15:49:25 +01:00
parent 430970b375
commit 5c0dcdb97a
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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 &