lab7: TLS ко всем зависимостям и телеметрии; раздельные роли PostgreSQL (GRANT по коду), ACL Valkey, AMQPS, HTTPS S3, mTLS Collector/Prometheus/Loki/Tempo/Grafana

This commit is contained in:
Alexey Bodanyuk
2026-11-27 16:29:09 +03:00
parent f36da97951
commit 93f4ed1013
28 changed files with 621 additions and 201 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ class Relay:
async def connect(self) -> None:
self.connection = await aio_pika.connect(
self.settings.broker_url, timeout=5,
self.settings.broker_url, timeout=5, ssl_context=broker.ssl_context(self.settings),
client_properties={"connection_name": "relay@" + self.settings.instance_id})
self.lost = service.watch_connection(self.connection)
# Confirm mode: every publish() waits for basic.ack of the broker (message in the quorum log).