Files
server-components-demo/credentials.js
Jon Jaques 587abb9b49 Fixes docker-compose & pg initialization (#10)
* Fixes docker-compose & pg initialization

 - ./scripts/init_db.sh is not executable (/bin/bash: bad interpreter: Permission denied)
 - same script fails because user is already created, only table creation is necessary.

* Actually fix docker-compose development workflow

* Incorporate PR feedback

* Remove credentials.json
2020-12-22 14:14:21 -05:00

8 lines
152 B
JavaScript

module.exports = {
host: process.env.DB_HOST || 'localhost',
database: 'notesapi',
user: 'notesadmin',
password: 'password',
port: '5432',
};