From a56b18bda4afb16eb4e730b915434f3527b47066 Mon Sep 17 00:00:00 2001 From: Sanchit Ram Arvind Date: Mon, 21 Oct 2024 13:17:20 -0500 Subject: [PATCH] some cleanups --- docker-compose.yml | 8 ++------ package_managers/homebrew/pipeline.sh | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index bef45d1..99cad6b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -53,13 +53,9 @@ services: - TEST=${TEST:-false} - FETCH=${FETCH:-true} - FREQUENCY=${FREQUENCY:-24} - - DEBUG=${DEBUG:-true} - SOURCE=https://formulae.brew.sh/api/formula.json - CODE_DIR=/package_managers/homebrew - DATA_DIR=/data/homebrew - - PYTHONPATH=/ - # TODO: can I reference DATA_DIR in the volumes key? do I need it? - # https://stackoverflow.com/questions/29377853/how-can-i-use-environment-variables-in-docker-compose volumes: - ./data/homebrew:/data/homebrew depends_on: @@ -79,5 +75,5 @@ services: depends_on: crates: condition: service_started - # homebrew: - # condition: service_started + homebrew: + condition: service_started diff --git a/package_managers/homebrew/pipeline.sh b/package_managers/homebrew/pipeline.sh index 6cf8487..bb33efb 100755 --- a/package_managers/homebrew/pipeline.sh +++ b/package_managers/homebrew/pipeline.sh @@ -118,7 +118,7 @@ fi # Load data into database log "Loading data into database" -psql "$CHAI_DATABASE_URL" <