Continued… part-1 Gunicorn Now, install Gunicorn. It’s production grade WSGI server. For now, since we want to use default django’s built-in server, create production compose file: version: '3.5' services:
app:
build:
context: .
command: gunicorn personal.wsgi:application --bind 0.0.0.0:8000
volumes:
- static_data:/vol/static
ports:
- "8000:8000"
restart: always
env_file:
- .env.prod …