From 5c0dcdb97a0d1af748af9cd916158f82dfcb4060 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 20 Mar 2025 15:49:25 +0100 Subject: [PATCH] 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. --- docker-compose.yml | 4 ++-- test_local.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index a01ee30..b62ab73 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 \ No newline at end of file + driver: bridge diff --git a/test_local.sh b/test_local.sh index 67f85e2..1a0a55a 100755 --- a/test_local.sh +++ b/test_local.sh @@ -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 &