ЛР 6 — БПИ2303 — Белоусов — на 5 #68

Closed
AnatoliyBelousov wants to merge 10 commits from AnatoliyBelousov/mtusi2026lab6:solution/bpi2303-belousov into main
Showing only changes of commit 108f550db6 - Show all commits
+6 -1
View File
@@ -190,7 +190,12 @@ services:
restart: unless-stopped
redis-exporter:
image: oliver006/redis_exporter:v1.67.0
command: ['/bin/sh', '-ec', 'exec redis_exporter --redis.addr=redis://broker:6379 --redis.password="$$(awk '$$1=="requirepass" {print $$2}' /run/secrets/broker_config)"']
command:
- /bin/sh
- -ec
- >-
password="$$(awk '$$1=="requirepass" {print $$2}' /run/secrets/broker_config)";
exec redis_exporter --redis.addr=redis://broker:6379 --redis.password="$$password"
secrets: [broker_config]
ports: ['127.0.0.1:9121:9121']
depends_on: