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:
|
ports:
|
||||||
- "8200:8200"
|
- "8200:8200"
|
||||||
environment:
|
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:
|
cap_add:
|
||||||
- IPC_LOCK
|
- IPC_LOCK
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -45,4 +45,4 @@ volumes:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
vault-net:
|
vault-net:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
|
|
|
@ -54,7 +54,7 @@ listener "tcp" {
|
||||||
}
|
}
|
||||||
|
|
||||||
disable_mlock = true
|
disable_mlock = true
|
||||||
ui = true
|
ui = false
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
vault server -config=/tmp/vault-test/config/vault.hcl > ./vault_server.log 2>&1 &
|
vault server -config=/tmp/vault-test/config/vault.hcl > ./vault_server.log 2>&1 &
|
||||||
|
|
Loading…
Reference in a new issue