django-on-docker
django-on-docker copied to clipboard
Dockerizing Django with Postgres, Gunicorn, and Nginx
resolves #50
Bumps [django](https://github.com/django/django) from 3.2.6 to 3.2.15. Commits 653a7bd [3.2.x] Bumped version for 3.2.15 release. b3e4494 [3.2.x] Fixed CVE-2022-36359 -- Escaped filename in Content-Disposition header. cb7fbac [3.2.x] Fixed collation tests on...
Error because debug flag gots interpreted only as bool not int (Version: Django 3.2.7) in settings.py, line 26 change: DEBUG = int(os.environ.get("DEBUG", default=0)) to: DEBUG = bool(os.environ.get("DEBUG", default=0))
This will override entrypoint.sh, isn't it? https://github.com/testdrivenio/django-on-docker/blob/ce7c04cc14c95fa29799e2d40d6bdbdb5554f7c4/app/Dockerfile#L20-L26
### Description 1. Add basic CI checks workflow using GitHub Actions. - Run tests - Run on localserver - Test against Python 3.7, 3.8 and 3.9 2. Add pre-commit auto...
### List of pre-commit hooks enabled - **[Deprecations]** A quick check for the deprecated `.warn()` method of python loggers - **[Deprecations]** A quick check on python3.6+ type annotations are present...
Following the post and using the repo's code, everything goes as expected until doing ``` docker-compose exec db psql --username=hello_django --dbname=hello_django_dev ``` There are none of the tables indicated by...
Am I correct in thinking that this setup is not suitable for production without a supervisor process as there is nothing to restart gunicorn in case it crashes?
Hi. Been following your tutorial [here](https://testdriven.io/blog/dockerizing-django-with-postgres-gunicorn-and-nginx/) and encountering the issue that the **entrypoint.sh** cannot be found. `django-nginx-docker-web-1 | exec /usr/src/app/entrypoint.sh: no such file or directory`
https://github.com/testdrivenio/django-on-docker/issues/50#issuecomment-1685124403