date: 2026-10-28T17:07:12Z commit: e00eb6c # намеренные нарушения политики во временном override (не в репозитории): # services: # api: # ports: ["8081:8080"] # secrets: [database_url, cache_url, cursor_secret, postgres_password] # valkey: # container_name: lab3-valkey # k6: # deploy: # resources: # limits: {cpus: "0", memory: "0"} $ COMPOSE_FILE=compose.yaml:violations.yaml python3 scripts/limits.py; echo exit=$? # строки FAIL/PASS FAIL: api: secrets ['cache_url', 'cursor_secret', 'database_url', 'postgres_password'], policy ['cache_url', 'cursor_secret', 'database_url'] FAIL: api: publishes ['0.0.0.0:8081'] in bypass of the balancer FAIL: api: publishes ['0.0.0.0:8081'] beyond loopback FAIL: k6: no CPU or memory limit FAIL: valkey: container_name prevents scaling FAIL: 5 violation(s) exit=1