Programming language and version: Python and Django
Your issue
Hello, i’m having issue connecting to the postgresql db for project “brasserie-76-flo”. I have a connection refused when i run qovery run.
Screenshot 2021-06-07 132535
1053×267 37.2 KB
I pinged the ip adresse and it returns the packets, so i guess a port issue ? Or maybe i a have a confusion with ENV given by Qovery.
My settings seems ok :
Am i missing something ?
Dockerfile content (if any)
FROM python:3.8.0-alpine
WORKDIR /usr/src/app
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
COPY . .
RUN apk update && apk add postgresql-dev gcc python3-dev musl-dev
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
RUN python3 -V
RUN python3 ./bakpak_project/manage.py collectstatic --noinput
RUN python3 ./bakpak_project/manage.py makemigrations