This commit is contained in:
Scott Idem
2023-04-16 19:45:11 -04:00
parent 70db400290
commit 7bdfe41aa1
8 changed files with 72 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
FROM tiangolo/uvicorn-gunicorn-fastapi:latest # FROM tiangolo/uvicorn-gunicorn-fastapi:latest
# FROM tiangolo/uvicorn-gunicorn-fastapi:python3.10 FROM tiangolo/uvicorn-gunicorn-fastapi:python3.10
LABEL maintainer="Scott Idem <scott.idem@oneskyit.com>" LABEL maintainer="Scott Idem <scott.idem@oneskyit.com>"

View File

@@ -1,7 +1,7 @@
import os import os
# Gunicorn config variables # Gunicorn config variables
loglevel = "warning" loglevel = "debug"
accesslog = "/logs/gunicorn_access.log" # "-" # stdout accesslog = "/logs/gunicorn_access.log" # "-" # stdout
errorlog = "/logs/gunicorn_error.log" # "-" # stderr errorlog = "/logs/gunicorn_error.log" # "-" # stderr
@@ -29,7 +29,7 @@ keepalive = 2 # default 2; setting higher because behind load balancer (nginx)
# Reload does not work correctly with UvicornWorker # Reload does not work correctly with UvicornWorker
# https://github.com/benoitc/gunicorn/issues/2339 # https://github.com/benoitc/gunicorn/issues/2339
# Disable reload if using more than one thread # Disable reload if using more than one thread
reload = True ##### reload = True
# reload_engine = "poll" # reload_engine = "poll"

View File

@@ -0,0 +1,63 @@
# aioredis # BAD! Not maintained!
anyio
argon2-cffi
argon2-cffi-bindings
asgiref
async-timeout
certifi
cffi
charset-normalizer
click
Deprecated
dnspython
email-validator
et-xmlfile
fastapi
greenlet
gunicorn
h11
html2text
httpcore
httptools
httpx
idna
itsdangerous
Jinja2
MarkupSafe
mysqlclient
numpy
openpyxl
orjson
packaging
pandas
passlib
pdf2image
Pillow
pycparser
pydantic
PyJWT
pyparsing
python-dateutil
python-dotenv
python-multipart
pytz
PyYAML
qrcode
redis[hiredis]
requests
rfc3986
six
sniffio
SQLAlchemy==1.4.47 # 1.4.47 is the newest I am working with
starlette
stripe
typing_extensions
ujson
urllib3
uvicorn
uvloop
watchfiles
watchgod
websockets
wrapt
xlrd

View File

@@ -1,3 +1,4 @@
# aioredis # BAD! Not maintained!
anyio anyio
argon2-cffi argon2-cffi
argon2-cffi-bindings argon2-cffi-bindings
@@ -30,6 +31,7 @@ orjson
packaging packaging
pandas pandas
passlib passlib
pdf2image
Pillow Pillow
pycparser pycparser
pydantic pydantic
@@ -41,7 +43,7 @@ python-multipart
pytz pytz
PyYAML PyYAML
qrcode qrcode
redis redis[hiredis]
requests requests
rfc3986 rfc3986
six six

View File

@@ -0,0 +1 @@

View File

1
srv/hosted_files_ln_dev Symbolic link
View File

@@ -0,0 +1 @@
/mnt/data_drive/srv/data/osit_app/hosted_files_dev