From 383dfc972fb4089c2306d0f08c09505b0231f0b3 Mon Sep 17 00:00:00 2001 From: Dylan Lee Date: Thu, 28 Aug 2025 10:44:51 -0400 Subject: [PATCH] Edit local docker compose and requirements.txt Add a volume to local nomad server to retain logs Drop jinja2 from requirements. Not needed anymore with new reporting Update gitignore to reflect the gitignore during ripple batch production --- .gitignore | 2 ++ docker-compose-local.yml | 2 ++ requirements.txt | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 86f36e6..f8c0501 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,5 @@ pipeline_log.db viztracer-visualization.json pipeline_trace.json .data +cache/aiohttp_cache.sqlite +reports/ diff --git a/docker-compose-local.yml b/docker-compose-local.yml index f97784c..0d654bd 100644 --- a/docker-compose-local.yml +++ b/docker-compose-local.yml @@ -64,6 +64,8 @@ services: # cgroup filesystem access required for Nomad client to manage process isolation and resource limits - /sys/fs/cgroup:/sys/fs/cgroup:rw - /tmp:/tmp + # Docker container logs directory for Nomad to read container logs + - /var/lib/docker/containers:/var/lib/docker/containers:ro environment: - NOMAD_ADDR=${NOMAD_ADDR} command: ["nomad", "agent", "-config", "/etc/nomad/nomad.hcl"] diff --git a/requirements.txt b/requirements.txt index 0a51ea0..2a25b6f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ aiobotocore==2.23.0 aiohappyeyeballs==2.6.1 -aiohttp==3.11.17 +aiohttp>3.11.17 aiohttp-sse-client==0.2.1 aioitertools==0.12.0 aiosignal==1.3.2