From b696064f6a65e68fd67900686aa479721b99f812 Mon Sep 17 00:00:00 2001 From: Juan Sensio Date: Thu, 8 Feb 2024 13:04:55 +0100 Subject: [PATCH] add api key auth in cli --- docker-compose.test.yml | 13 +++++++------ eotdl/makefile | 3 ++- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/docker-compose.test.yml b/docker-compose.test.yml index 264b63e5..7517f886 100755 --- a/docker-compose.test.yml +++ b/docker-compose.test.yml @@ -13,8 +13,7 @@ services: command: server /data --console-address ":9001" eotdl-api-test: - build: ./api - container_name: eotdl-api-test + image: eotdl/api:2024.02.08 environment: - MONGO_URL=mongodb://eotdl-mongo-test:27017 - MONGO_DB_NAME=test @@ -28,10 +27,12 @@ services: - API_BASE_URL=http://localhost:8010 # used to generate file urls env_file: # auth0 and eox credentials - .env - volumes: - - ./api:/api - - ./eotdl/eotdl:/api/api/eotdl - command: uvicorn api.api.main:app --host 0.0.0.0 --reload + ports: + - 8010:8000 + # volumes: + # - ./api:/api + # - ./eotdl/eotdl:/api/api/eotdl + command: uvicorn api.main:app --host 0.0.0.0 --reload # eotdl-test: # build: ./eotdl diff --git a/eotdl/makefile b/eotdl/makefile index 496bd238..c47f6012 100755 --- a/eotdl/makefile +++ b/eotdl/makefile @@ -4,4 +4,5 @@ build: poetry build publish: - poetry publish \ No newline at end of file + poetry publish +