Skip to content

Commit

Permalink
add api key auth in cli
Browse files Browse the repository at this point in the history
  • Loading branch information
earthpulse committed Feb 8, 2024
1 parent e0e7755 commit b696064
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
13 changes: 7 additions & 6 deletions docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
3 changes: 2 additions & 1 deletion eotdl/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ build:
poetry build

publish:
poetry publish
poetry publish

0 comments on commit b696064

Please sign in to comment.