-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
Description
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.ymlfile. - Download the example
.env.prod.distfile and save it as.env.prod - Set the values of the
.env.prodas 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
Reactions are currently unavailable