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 in declarations for username and password variables (docker/docker) #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nickspacek
Copy link

The script was failing to create the user properly when I was trying to mount the data directory using the volume parameter; my logs were showing this:

WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.

PostgreSQL stand-alone backend 9.3.5
2014-07-27 03:28:20 UTC ERROR:  syntax error at or near "WITH SUPERUSER" at character 14
2014-07-27 03:28:20 UTC STATEMENT:  CREATE USER  WITH SUPERUSER PASSWORD '';

I just added the variables to the start.sh script, I'm not sure if the values were supposed to be coming in externally somehow or what.

@day-me-an
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants