container env variables for db

This commit is contained in:
2024-01-28 22:33:42 +01:00
parent fb968853b5
commit 564a2c61df
3 changed files with 13 additions and 1 deletions

View File

@@ -16,4 +16,7 @@ WORKDIR /app
EXPOSE 8080
ENV POSTGRES_HOST=127.0.0.1
ENV POSTGRES_PORT=5432
CMD ["gunicorn","--config", "gunicorn_config.py", "app:app"]