date: 2026-11-06T19:07:33Z  commit: 5e49502ae78fa48b992c97418e490666c699726d
environment: {"COMPOSE_PROJECT_NAME": "hlpipe-lab4-validation-20261106", "COMPOSE_FILE": "compose.yaml", "LB_HTTP_PORT": "18084", "LB_STATS_PORT": "24846", "BASE_URL": "http://127.0.0.1:18084", "EVIDENCE_DIR": "evidence/png-final-2026-11-06", "NO_PROXY": "localhost,127.0.0.1,::1"}
$ python3 scripts/limits.py --out evidence/png-final-2026-11-06/limits.txt
date: 2026-11-06T19:07:34Z  commit: 5e49502
$ docker compose --profile bench --profile tools --profile reconcile config --format json  (declared)
service     cpus/mem    ports                            secrets                                                                                                                          volumes     networks                ro     user
----------  ----------  -------------------------------  -------------------------------------------------------------------------------------------------------------------------------  ----------  ----------------------  -----  -----------
api         1/512MiB    -                                cache_url,cursor_secret,database_url,s3_access_key_id,s3_secret_access_key                                                       -           backend(internal)       true   image
k6          2/512MiB    -                                -                                                                                                                                -           edge                    false  image
lb          1/128MiB    127.0.0.1:18084,127.0.0.1:24846  -                                                                                                                                -           backend(internal),edge  true   image
migrate     0.5/256MiB  -                                database_url                                                                                                                     -           backend(internal)       false  image
postgres    2/1024MiB   -                                postgres_password                                                                                                                pgdata      backend(internal)       false  70:70
reconciler  1/256MiB    -                                database_url,s3_reconciler_access_key_id,s3_reconciler_secret_access_key                                                         -           backend(internal)       true   image
s3          1/512MiB    -                                s3_root_password,s3_root_user                                                                                                    s3data      backend(internal)       true   image
s3-cli      0.5/64MiB   -                                s3_access_key_id,s3_reconciler_access_key_id,s3_reconciler_secret_access_key,s3_root_password,s3_root_user,s3_secret_access_key  -           backend(internal)       true   65534:65534
s3-init     0.5/64MiB   -                                s3_access_key_id,s3_reconciler_access_key_id,s3_reconciler_secret_access_key,s3_root_password,s3_root_user,s3_secret_access_key  -           backend(internal)       true   65534:65534
valkey      0.5/128MiB  -                                valkey.conf                                                                                                                      valkeydata  backend(internal)       false  999:1000

$ docker inspect  (running containers: hostname = X-Instance-Id, applied limits)
service   hostname      cpus  memory   published
--------  ------------  ----  -------  ---------------------------------------------------
api       b853647278e7  1     512MiB
api       be7bd4c0acb6  1     512MiB
lb        c1bdaca42e75  1     128MiB   127.0.0.1:18084->8080/tcp,127.0.0.1:24846->8404/tcp
postgres  7863933b6b16  2     1024MiB
s3        47390705b9ed  1     512MiB
valkey    75369422db1c  0.5   128MiB

PASS: limits, ports, secrets, volumes and networks match the policy
exit_code: 0  elapsed_seconds: 0.270
