Skip to content

Wrong docker env variable for postgresql password in example .env.prod.dist file #239

@juanluisbaptiste

Description

@juanluisbaptiste

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:

  1. Follow the instructions at https://getfal.co/docs/getting-started/installation
  2. Download the example docker-compose.prod.yml file.
  3. Download the example .env.prod.dist file and save it as .env.prod
  4. Set the values of the .env.prod as desired, using POSTGRES_PASSWORD as the env variable for the database password.
  5. Start the project using docker-compose -f docker-compose.prod.yml up
  6. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions