Reproduction
Hi,
When following the instructions for the docker install, the example .env.prod.dist file uses the env variable POSTGRES_PASSWORD for the database password, but using it I get the following error on the celery container start and when running ./manage.py migrate --noinput:
WARNING/Beat] django.db.utils.OperationalError: fe_sendauth: no password supplied
Using PGPASSWORD instead works.
Steps to reproduce:
- Follow the instructions at https://getfal.co/docs/getting-started/installation
- Download the example
docker-compose.prod.yml file.
- Download the example
.env.prod.dist file and save it as .env.prod
- Set the values of the
.env.prod as desired, using POSTGRES_PASSWORD as the env variable for the database password.
- Start the project using
docker-compose -f docker-compose.prod.yml up
- Celery container startup will fail with the error
WARNING/Beat] django.db.utils.OperationalError: fe_sendauth: no password supplied
Expected Behavior
Containers should start without error, using PGPASSWORD instead of POSTGRES_PASSWORD fixes the issue.
Actual Behavior
Celery container startup will fail with the error WARNING/Beat] django.db.utils.OperationalError: fe_sendauth: no password supplied
Environment
- Browser(s):
Firefox
- Operating System (e.g. Windows, macOS, Ubuntu):
Kubuntu 20.04
Reproduction
Hi,
When following the instructions for the docker install, the example .env.prod.dist file uses the env variable
POSTGRES_PASSWORDfor the database password, but using it I get the following error on the celery container start and when running./manage.py migrate --noinput:WARNING/Beat] django.db.utils.OperationalError: fe_sendauth: no password suppliedUsing
PGPASSWORDinstead works.Steps to reproduce:
docker-compose.prod.ymlfile..env.prod.distfile and save it as.env.prod.env.prodas desired, using POSTGRES_PASSWORD as the env variable for the database password.docker-compose -f docker-compose.prod.yml upWARNING/Beat] django.db.utils.OperationalError: fe_sendauth: no password suppliedExpected Behavior
Containers should start without error, using
PGPASSWORDinstead ofPOSTGRES_PASSWORDfixes the issue.Actual Behavior
Celery container startup will fail with the error
WARNING/Beat] django.db.utils.OperationalError: fe_sendauth: no password suppliedEnvironment
Firefox
Kubuntu 20.04