Skip to content

Commit

Permalink
Merge pull request #14 from resin-io/13-docker-create-db
Browse files Browse the repository at this point in the history
postgres: `resin` db created by `docker` user
  • Loading branch information
hedss authored Sep 17, 2018
2 parents cf31a48 + c5b5e94 commit 8c2b282
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 8c2b282

Please sign in to comment.