Skip to content

Commit

Permalink
add sqlalchemy application name/version
Browse files Browse the repository at this point in the history
  • Loading branch information
OriHoch committed Oct 30, 2024
1 parent 1e61ea6 commit 689a2ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,7 @@ COPY open_bus_stride_api ./open_bus_stride_api
RUN pip install -e .
ARG VERSION=local-docker
RUN echo "VERSION = '${VERSION}'" > open_bus_stride_api/version.py
ENV SQLALCHEMY_APPLICATION_NAME=api
ENV SQLALCHEMY_APPLICATION_VERSION=${VERSION}
ENV PYTHONUNBUFFERED=1
ENTRYPOINT ["gunicorn", "-k", "uvicorn.workers.UvicornWorker", "-c", "gunicorn_conf.py", "open_bus_stride_api.main:app"]

0 comments on commit 689a2ca

Please # to comment.