I'm using Coolify and I want to deploy a Django application. I created an entrypoint.sh
#!/bin/sh
set -e
echo "Running migrations..."
python manage.py migrate
echo "Collecting static files..."
python manage.py collectstatic --noinput
echo "Starting Gunicorn HTTP server..."
exec gunicorn coolify.wsgi:application --bind 0.0.0.0:8000
I have a Dockerfile and it's all connected in a docker-compose.yml
file with the db.
The containers are running but I keep getting a Bad Request 400
response for any endpoint.