Skip to content

Commit

Permalink
Merge pull request #16 from chanzuckerberg/mvenkatakrishnan/ingestor_…
Browse files Browse the repository at this point in the history
…validation

fix: Updating ingestor to use amd
  • Loading branch information
manasaV3 authored Feb 26, 2024
2 parents 5f48715 + 98955e6 commit c7ec49a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ init: ingestor-init api-init

.PHONY: ingestor-init
ingestor-init:
docker compose --profile ingestor up -d
docker compose -f ./docker-compose.yml -f ./ingestion_tools/docker-compose.yml --profile ingestor up -d
cd ./test_infra/; ./seed_moto.sh

.PHONY: api-init
Expand Down
14 changes: 0 additions & 14 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,3 @@ services:
condition: service_healthy
environment:
HASURA_GRAPHQL_DATABASE_URL: postgres://postgres:postgres@db:5432/cryoet
ingestor:
platform: linux/arm64
profiles: ["ingestor"]
image: ingestor
build:
context: ./ingestion_tools
dockerfile: Dockerfile
environment:
- AWS_REGION=us-west-2
- AWS_ACCESS_KEY_ID=test
- AWS_SECRET_ACCESS_KEY=test
volumes:
- ./ingestion_tools:/usr/src/app/ingestion_tools
command: ["sleep", "infinity"]
16 changes: 16 additions & 0 deletions ingestion_tools/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: '3.9'
services:
ingestor:
platform: linux/amd64
image: ingestor
profiles: ["ingestor"]
build:
context: ./ingestion_tools
dockerfile: Dockerfile
environment:
- AWS_REGION=us-west-2
- AWS_ACCESS_KEY_ID=test
- AWS_SECRET_ACCESS_KEY=test
volumes:
- ./ingestion_tools:/usr/src/app/ingestion_tools
command: ["sleep", "infinity"]

0 comments on commit c7ec49a

Please sign in to comment.