Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the environment variable POSTGRES_PASSWORD #424

Merged
merged 1 commit into from
May 27, 2020

Conversation

secampos
Copy link

@secampos secampos commented May 26, 2020

Description

The application doesn't execute and it is giving the error below:

Error: Database is uninitialized and superuser password is not specified.
    You must specify POSTGRES_PASSWORD to a non-empty value for the
    superuser. For example, "-e POSTGRES_PASSWORD=password" on "docker run".
 
    You may also use "POSTGRES_HOST_AUTH_METHOD=trust" to allow all
    connections without a password. This is *not* recommended.

This error is caused due a changed in the docker-library/postgres (#589).

Proposed Changes

It was added the environment variable POSTGRES_PASSWORD in the docker-compose file to fix the error. The value of the password variable must be the same one in the app/html/sites/default/settings.php file.

Testing

The install command should work properly:

make install

Copy link
Contributor

@spimpaov spimpaov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, @secampos! I was able to run the app properly, thanks for this contribution 🎉

@spimpaov spimpaov merged commit d53e2df into globocom:master May 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants