Проверить уровень 3, устойчивость и отрицательные сценарии, оформить отчёт
This commit is contained in:
+28
-4
@@ -8,7 +8,7 @@ services:
|
||||
stop_grace_period: 12s
|
||||
environment:
|
||||
BAO_ROLE: api
|
||||
BAO_AUTH_NAME: api1
|
||||
BAO_AUTH_NAME: api
|
||||
BAO_ADDR: https://openbao:8200
|
||||
S3_ENDPOINT: https://s3:9000
|
||||
OTEL_EXPORTER_OTLP_ENDPOINT: https://otel-collector:4318
|
||||
@@ -258,6 +258,11 @@ services:
|
||||
interval: 5s
|
||||
timeout: 4s
|
||||
retries: 30
|
||||
environment:
|
||||
ERL_EPMD_ADDRESS: 127.0.0.1
|
||||
RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS: -kernel inet_dist_use_interface {127,0,0,1}
|
||||
extra_hosts:
|
||||
broker: 127.0.0.1
|
||||
openbao:
|
||||
image: quay.io/openbao/openbao:2.4.0
|
||||
cpus: 0.5
|
||||
@@ -271,13 +276,13 @@ services:
|
||||
BAO_ADDR: https://openbao:8200
|
||||
BAO_CACERT: /tls/ca.crt
|
||||
volumes:
|
||||
- bao_data:/bao/data
|
||||
- bao_data:/openbao/file
|
||||
- ./infra/openbao/config.hcl:/bao/config/config.hcl:ro
|
||||
- ./secrets/tls/openbao:/tls:ro
|
||||
ports:
|
||||
- 127.0.0.1:${BAO_PORT:-8207}:8200
|
||||
cap_drop:
|
||||
- ALL
|
||||
tmpfs:
|
||||
- /openbao/logs
|
||||
lb:
|
||||
image: haproxy:3.0.6-alpine
|
||||
cpus: 0.5
|
||||
@@ -464,6 +469,25 @@ services:
|
||||
- ./secrets/datasources.yaml:/etc/grafana/provisioning/datasources/sources.yaml:ro
|
||||
- ./infra/grafana/provisioning/dashboards:/etc/grafana/provisioning/dashboards:ro
|
||||
- ./infra/grafana/dashboards:/var/lib/grafana/dashboards:ro
|
||||
verifier:
|
||||
image: ${APP_IMAGE:-lyakhonov-lab7-app:1.0}
|
||||
profiles:
|
||||
- tests
|
||||
command:
|
||||
- python
|
||||
- /checks/internal.py
|
||||
volumes:
|
||||
- ./student-tests:/checks:ro
|
||||
- ./secrets/tls:/probe:ro
|
||||
- ./secrets/ca.crt:/tls/ca.crt:ro
|
||||
healthcheck:
|
||||
disable: true
|
||||
cpus: 0.5
|
||||
mem_limit: 256m
|
||||
cap_drop:
|
||||
- ALL
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
volumes:
|
||||
postgres_data: {}
|
||||
s3_data: {}
|
||||
|
||||
Reference in New Issue
Block a user