Skip to content

Commit

Permalink
postgres: resin db created by docker user
Browse files Browse the repository at this point in the history
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
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .resinci.yml
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: .
Empty file added README.md
Empty file.
2 changes: 1 addition & 1 deletion create-resin-db.sh
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

0 comments on commit c5b5e94

Please sign in to comment.