lab7: конфиг OpenBao вне каталога entrypoint, без disable_mlock; tail decision_wait 10s; восстановление трасс после отказа Tempo

This commit is contained in:
2026-11-12 12:51:02 +03:00
parent 83de76f19e
commit c6974baad9
5 changed files with 15 additions and 8 deletions
+4 -2
View File
@@ -423,11 +423,13 @@ services:
# продолжают работать на полученных ранее секретах.
openbao:
image: openbao/openbao:2.1.0
command: ["server", "-config=/openbao/config/config.hcl"]
# Конфиг вне /openbao/config: entrypoint образа сам добавляет -config=/openbao/config,
# и тот же файл, загруженный дважды, дал бы два listener на одном порту.
command: ["server", "-config=/openbao/lab7/config.hcl"]
environment:
SKIP_SETCAP: "true"
volumes:
- ./infra/openbao/config.hcl:/openbao/config/config.hcl:ro
- ./infra/openbao/config.hcl:/openbao/lab7/config.hcl:ro
- ./infra/openbao/policies:/openbao/policies:ro
- bao_data:/openbao/file
secrets: