31 lines
3.9 KiB
Plaintext
31 lines
3.9 KiB
Plaintext
date: 2026-11-06T00:34:11Z commit: 504f77cb7cef28202e1830fc04e10e646488e778
|
|
environment: {"COMPOSE_PROJECT_NAME": "hlpipe-lab4-cost-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/track5", "NO_PROXY": "localhost,127.0.0.1,::1"}
|
|
$ python3 scripts/limits.py
|
|
date: 2026-11-06T00:34:12Z commit: 504f77c
|
|
$ 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 bb0fa8048381 1 512MiB
|
|
api e3f7f63fbf41 1 512MiB
|
|
lb 4c70b70d3a09 1 128MiB 127.0.0.1:18084->8080/tcp,127.0.0.1:24844->8404/tcp
|
|
postgres 373722f58253 2 1024MiB
|
|
s3 cc0cb988917a 1 512MiB
|
|
valkey b021f8f3eecd 0.5 128MiB
|
|
|
|
PASS: limits, ports, secrets, volumes and networks match the policy
|
|
exit_code: 0 elapsed_seconds: 0.270
|