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 0000000..10bfc79 Binary files /dev/null and b/conf/.aether_fastapi_requirements [good].txt.bak.kate-swp differ 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