Skip to content

Ensure 'api' user is created in docker image#3

Merged
mbryzek merged 1 commit intomasterfrom
upgrade_20171125_1159
Nov 25, 2017
Merged

Ensure 'api' user is created in docker image#3
mbryzek merged 1 commit intomasterfrom
upgrade_20171125_1159

Conversation

@mbryzek
Copy link
Copy Markdown
Contributor

@mbryzek mbryzek commented Nov 25, 2017

  • 'psql -U postgres --no-align --tuples-only -c "SELECT 1 FROM pg_roles WHERE rolname='api'" | grep -q 1 || psql -U postgres -c 'create role api login PASSWORD NULL' postgres' => 'psql -U postgres -c 'create role api login PASSWORD NULL' postgres > /dev/null'

 - 'psql -U postgres --no-align --tuples-only -c "SELECT 1 FROM pg_roles WHERE rolname='api'" | grep -q 1 || psql -U postgres -c 'create role api login PASSWORD NULL' postgres' => 'psql -U postgres -c 'create role api login PASSWORD NULL' postgres > /dev/null'
@mbryzek mbryzek merged commit 074a0b3 into master Nov 25, 2017
@ericluria ericluria deleted the upgrade_20171125_1159 branch February 25, 2019 17:06
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.

1 participant