I am setting up a timeout check so I made and endpoint: @app.get("/tc", status_code=200) def timeout_check(): time.sleep(500) return "NOT OK" I am using the docker image tiangolo/uvicorn-gunicorn-fastapi:python3.7 and my command to run t...
Step 1 — Creating the PostgreSQL Database and User To begin, we’ll connect to the PostgreSQL server from the Ubuntu instance. Then, we’ll create a PostgreSQL database and user for the Django app, and configure the database to work effectively with Django. Before we connect to t...