diff --git a/.gitignore b/.gitignore index e2d54ab..d6c63b6 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,5 @@ wheels/ # Virtual environments .venv/ pdfstract-311/ -tests/results/* \ No newline at end of file +tests/results/* +.env diff --git a/docker-compose.yml b/docker-compose.yml index 6484f94..c88b207 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,6 +14,8 @@ services: - model-cache:/root/.cache environment: - UVICORN_RELOAD=1 + - OPENAI_API_KEY=${OPENAI_API_KEY} + - GEMINI_API_KEY=${GEMINI_API_KEY} # Resource limits for Apple Silicon deploy: resources: diff --git a/env.example b/env.example new file mode 100644 index 0000000..83f4c70 --- /dev/null +++ b/env.example @@ -0,0 +1,2 @@ +OPENAI_API_KEY=your-api-key-here +GEMINI_API_KEY=your-gemini-api-key-here