lab7: mTLS-границы, OpenBao raft, TLS-телеметрия, evidence уровней 3-4
Skeleton contracts / contracts (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s
This commit is contained in:
+6
-3
@@ -142,8 +142,10 @@ services:
|
||||
- ./infra/rabbitmq/enabled_plugins:/etc/rabbitmq/enabled_plugins:ro
|
||||
- ./infra/rabbitmq/entrypoint.sh:/opt/lab7/entrypoint.sh:ro
|
||||
- ./infra/rabbitmq/init-users.sh:/opt/lab7/init-users.sh:ro
|
||||
- ./infra/rabbitmq/definitions.json:/opt/lab7/definitions.json:ro
|
||||
healthcheck:
|
||||
test: ["CMD", "rabbitmq-diagnostics", "-q", "ping"]
|
||||
# Явно передаём cookie: CLI от root не должен полагаться на $HOME/.erlang.cookie.
|
||||
test: ["CMD-SHELL", "RABBITMQ_ERLANG_COOKIE=$$(cat /var/lib/rabbitmq/.erlang.cookie) rabbitmq-diagnostics -q ping"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 30
|
||||
@@ -157,7 +159,8 @@ services:
|
||||
image: openbao/openbao:2.7.3
|
||||
restart: unless-stopped
|
||||
# stateful-исключение: root нужен для записи в persistent volume и
|
||||
# приватный TLS-ключ 0600 (mlock отключён в config.hcl).
|
||||
# приватный TLS-ключ 0600 (в 2.7.3 поля disable_mlock нет, сервер
|
||||
# стартует в контейнере без дополнительных capabilities).
|
||||
user: "0:0"
|
||||
entrypoint: ["/opt/lab7/openbao-entrypoint.sh"]
|
||||
ports: ["127.0.0.1:8200:8200"]
|
||||
@@ -166,7 +169,7 @@ services:
|
||||
- openbaodata:/openbao/data
|
||||
- ./infra/openbao/config.hcl:/openbao/config/config.hcl:ro
|
||||
- ./infra/openbao/entrypoint.sh:/opt/lab7/openbao-entrypoint.sh:ro
|
||||
# stateful: read_only не включён, потому что OpenBao пишет в file storage
|
||||
# stateful: read_only не включён, потому что OpenBao пишет в raft storage
|
||||
# и готовит ключ TLS; остальные лимиты/сети применены.
|
||||
tmpfs: ["/openbao/certs", "/tmp"]
|
||||
networks: [control]
|
||||
|
||||
Reference in New Issue
Block a user