Category : django

I’m trying to follow this, but I’m finding some issues. My folder structure is a follows: — project — config/nginx/conf.d — www — server — settings.py, wsgi.py, etc. — Dockerfile — manage.py — requirements.txt — docker-compose.yml — Dockerfile The most relevant files are as follows: Dockerfile FROM python:3 # Make the Python output not buffered; logs will show in real ..

Read more

I’d like to find out what is haunting my dockerized Django, Postgres, Gunicorn, Nginx project. `/etc/nginx/html/index.html" is not found` nginx | 2021/10/27 15:40:34 [error] 22#22: *2 "/etc/nginx/html/index.html" is not found (2: No such file or directory), client: 172.29.0.1, server: , request: "GET / HTTP/1.1", host: "0.0.0.0:8000" nginx | 172.29.0.1 – – [27/Oct/2021:15:40:34 +0000] "GET / ..

Read more

I’m trying to deploy a small Django app, that creates its own db.sqlite3 database, in a Kubernetes pod. When doing so without a persistent volume to save the db.sqlite3, it works fine but when trying to save it in a persistent volume, the pod outputs django.db.utils.OperationalError: unable to open database file The first problem I ..

Read more