forked from mtusi2026/mtusi2026lab4
31 lines
3.9 KiB
Plaintext
31 lines
3.9 KiB
Plaintext
date: 2026-11-05T22:59:54Z commit: 763b0255575366082c4c6731b54611af717685a5
|
|
environment: {"COMPOSE_PROJECT_NAME": "hlpipe-lab4-grades-20261106", "COMPOSE_FILE": "compose.yaml", "LB_HTTP_PORT": "18084", "LB_STATS_PORT": "24844", "BASE_URL": "http://127.0.0.1:18084", "EVIDENCE_DIR": "evidence/sqlalchemy-2026-11-06/grade3", "NO_PROXY": "localhost,127.0.0.1,::1"}
|
|
$ python3 scripts/limits.py --out evidence/sqlalchemy-2026-11-06/grade3/limits.txt
|
|
date: 2026-11-05T22:59:54Z commit: 763b025
|
|
$ 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:24844 - - 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 cff4a17e0883 1 512MiB
|
|
api f2e1260f6803 1 512MiB
|
|
lb 5f001dc38f7f 1 128MiB 127.0.0.1:18084->8080/tcp,127.0.0.1:24844->8404/tcp
|
|
postgres d390978734bf 2 1024MiB
|
|
s3 a1dccc133510 1 512MiB
|
|
valkey e17243696dd9 0.5 128MiB
|
|
|
|
PASS: limits, ports, secrets, volumes and networks match the policy
|
|
exit_code: 0 elapsed_seconds: 0.258
|