Skip to content

Commit

Permalink
adds .env step in readme and increases worker timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielBarberini committed Dec 16, 2023
1 parent dd6d440 commit 639b749
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ RUN apt-get update && \

COPY ./lib /code/lib

CMD ["gunicorn", "-w 4", "-k", "uvicorn.workers.UvicornWorker", "lib:app", "--log-level", "Debug", "-b", "0.0.0.0:3000"]
CMD ["gunicorn", "-w 4", "-k", "uvicorn.workers.UvicornWorker", "lib:app", "--log-level", "Debug", "-b", "0.0.0.0:3000", "--timeout", "120"]
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Stores simulation input data in mongo-db

## Docker
- touch .env
- docker-compose up --build -d

## Setup
Expand Down

0 comments on commit 639b749

Please sign in to comment.