-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
postgres:
resin
db created by docker
user
Due to recent changes in the Postgres codebase, and rebuilds of tagged Docker images, the default `postgres` user will no longer exist. See: docker-library/postgres@0aff40c Database is now created by the generated `docker` user. Connects-to: 13 Change-type: patch Signed-off-by: Heds Simons <[email protected]>
- Loading branch information
Heds Simons
committed
Sep 17, 2018
1 parent
cf31a48
commit c5b5e94
Showing
3 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
docker: | ||
publish: false | ||
builds: | ||
- dockerfile: Dockerfile | ||
docker_repo: resin/open-balena-db | ||
path: . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/bash | ||
|
||
psql --username postgres <<-EOSQL | ||
psql --username docker <<-EOSQL | ||
CREATE DATABASE resin; | ||
EOSQL |