From 7bdfe41aa1eceee58a64f8372710a150c46b1648 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Sun, 16 Apr 2023 19:45:11 -0400 Subject: [PATCH] Unknown --- aether_fastapi_gunicorn.Dockerfile | 4 +- ...stapi_requirements [good].txt.bak.kate-swp | Bin 0 -> 233 bytes conf/aether_fastapi_gunicorn_conf.py | 4 +- ...fastapi_requirements [good Docker dev].txt | 63 ++++++++++++++++++ conf/aether_fastapi_requirements.txt | 4 +- conf/aether_fastapi_requirements_current.txt | 1 + conf/requirements_current.txt | 0 srv/hosted_files_ln_dev | 1 + 8 files changed, 72 insertions(+), 5 deletions(-) create mode 100644 conf/.aether_fastapi_requirements [good].txt.bak.kate-swp create mode 100644 conf/aether_fastapi_requirements [good Docker dev].txt create mode 100644 conf/aether_fastapi_requirements_current.txt create mode 100644 conf/requirements_current.txt create mode 120000 srv/hosted_files_ln_dev diff --git a/aether_fastapi_gunicorn.Dockerfile b/aether_fastapi_gunicorn.Dockerfile index 54db337..b61795e 100644 --- a/aether_fastapi_gunicorn.Dockerfile +++ b/aether_fastapi_gunicorn.Dockerfile @@ -1,5 +1,5 @@ -FROM tiangolo/uvicorn-gunicorn-fastapi:latest -# FROM tiangolo/uvicorn-gunicorn-fastapi:python3.10 +# FROM tiangolo/uvicorn-gunicorn-fastapi:latest +FROM tiangolo/uvicorn-gunicorn-fastapi:python3.10 LABEL maintainer="Scott Idem " diff --git a/conf/.aether_fastapi_requirements [good].txt.bak.kate-swp b/conf/.aether_fastapi_requirements [good].txt.bak.kate-swp new file mode 100644 index 0000000000000000000000000000000000000000..10bfc79437cdb334bcaa6ee75cbcf8bfb97794c5 GIT binary patch literal 233 zcmZQzU=Z?7EJ;-eE>A2_aLdd|RWQ;sU|?Vnk(;RQm-^XtXL8@nD)oac=BiSu`+|dj zG73Np0-UbFp+HK}6)dU<7Gq#whlnb<28RPhl!2JXHP{nKsX!G77gQGHrQ6yX=ouLp z85x)xn(7%qj8KKD5C9pg2G@?PSpcXxv8Xr`WPq`rfu1GA8WW%f35YeOP(%1is!|e5 O5^ZgPwixRfy8-~vI4B+f literal 0 HcmV?d00001 diff --git a/conf/aether_fastapi_gunicorn_conf.py b/conf/aether_fastapi_gunicorn_conf.py index 640510a..9eba2e4 100644 --- a/conf/aether_fastapi_gunicorn_conf.py +++ b/conf/aether_fastapi_gunicorn_conf.py @@ -1,7 +1,7 @@ import os # Gunicorn config variables -loglevel = "warning" +loglevel = "debug" accesslog = "/logs/gunicorn_access.log" # "-" # stdout 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 # https://github.com/benoitc/gunicorn/issues/2339 # Disable reload if using more than one thread -reload = True +##### reload = True # reload_engine = "poll" diff --git a/conf/aether_fastapi_requirements [good Docker dev].txt b/conf/aether_fastapi_requirements [good Docker dev].txt new file mode 100644 index 0000000..0943763 --- /dev/null +++ b/conf/aether_fastapi_requirements [good Docker dev].txt @@ -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 diff --git a/conf/aether_fastapi_requirements.txt b/conf/aether_fastapi_requirements.txt index 2ac7878..0943763 100644 --- a/conf/aether_fastapi_requirements.txt +++ b/conf/aether_fastapi_requirements.txt @@ -1,3 +1,4 @@ +# aioredis # BAD! Not maintained! anyio argon2-cffi argon2-cffi-bindings @@ -30,6 +31,7 @@ orjson packaging pandas passlib +pdf2image Pillow pycparser pydantic @@ -41,7 +43,7 @@ python-multipart pytz PyYAML qrcode -redis +redis[hiredis] requests rfc3986 six diff --git a/conf/aether_fastapi_requirements_current.txt b/conf/aether_fastapi_requirements_current.txt new file mode 100644 index 0000000..8d1c8b6 --- /dev/null +++ b/conf/aether_fastapi_requirements_current.txt @@ -0,0 +1 @@ + diff --git a/conf/requirements_current.txt b/conf/requirements_current.txt new file mode 100644 index 0000000..e69de29 diff --git a/srv/hosted_files_ln_dev b/srv/hosted_files_ln_dev new file mode 120000 index 0000000..4bc3d28 --- /dev/null +++ b/srv/hosted_files_ln_dev @@ -0,0 +1 @@ +/mnt/data_drive/srv/data/osit_app/hosted_files_dev \ No newline at end of file