~/s/f/deploy  docker compose run --rm api python manage.py migrate WARN[0000] Found orphan containers ([deploy-nginx-1]) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up. [+] Running 2/0 ⠿ Container deploy-redis-1 Created 0.0s ⠿ Container deploy-postgres-1 Running 0.0s [+] Running 1/1 ⠿ Container deploy-redis-1 Started 0.4s Traceback (most recent call last): File "/app/manage.py", line 16, in django.setup() File "/venv/lib/python3.10/site-packages/django/__init__.py", line 24, in setup apps.populate(settings.INSTALLED_APPS) File "/venv/lib/python3.10/site-packages/django/apps/registry.py", line 91, in populate app_config = AppConfig.create(entry) File "/venv/lib/python3.10/site-packages/django/apps/config.py", line 124, in create mod = import_module(mod_path) File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/venv/lib/python3.10/site-packages/daphne/apps.py", line 6, in import daphne.server # noqa: F401 File "/venv/lib/python3.10/site-packages/daphne/server.py", line 7, in from twisted.internet import asyncioreactor # isort:skip File "/venv/lib/python3.10/site-packages/twisted/internet/asyncioreactor.py", line 19, in from twisted.internet.posixbase import ( File "/venv/lib/python3.10/site-packages/twisted/internet/posixbase.py", line 19, in from twisted.internet import error, tcp, udp File "/venv/lib/python3.10/site-packages/twisted/internet/tcp.py", line 38, in from twisted.internet._newtls import ( File "/venv/lib/python3.10/site-packages/twisted/internet/_newtls.py", line 18, in from twisted.protocols.tls import TLSMemoryBIOFactory, TLSMemoryBIOProtocol File "/venv/lib/python3.10/site-packages/twisted/protocols/tls.py", line 50, in Connection(Context(TLSv1_METHOD), None) File "/venv/lib/python3.10/site-packages/OpenSSL/SSL.py", line 674, in __init__ res = _lib.SSL_CTX_set_ecdh_auto(context, 1) AttributeError: module 'lib' has no attribute 'SSL_CTX_set_ecdh_auto'