This is the result of the "Dockerizing Django with Postgres, Gunicorn, and Nginx" tutorial described in https://testdriven.io/blog/dockerizing-django-with-postgres-gunicorn-and-nginx/#static-files
docker-compose up -d --build
docker-compose down -v
docker-compose exec web python manage.py flush --no-input
docker-compose exec web python manage.py migrate
docker-compose exec db psql --username=hello_django --dbname=hello_django_dev
docker-compose exec db psql --username=hello_django --dbname=hello_django_prod
docker-compose logs -f
docker-compose -f docker-compose.prod.yml up -d --build
docker-compose -f docker-compose.prod.yml down -v
docker-compose -f docker-compose.prod.yml exec web python manage.py migrate --noinput
docker-compose -f docker-compose.prod.yml logs -f
hey -z 10s -z 3m http://localhost:1337
- 20240107 - Tested using SSH connection