Convert app to use Compose file 2
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
This commit is contained in:
@ -24,7 +24,7 @@ io.sockets.on('connection', function (socket) {
|
||||
async.retry(
|
||||
{times: 1000, interval: 1000},
|
||||
function(callback) {
|
||||
pg.connect('postgres://postgres@voteapps_db_1/postgres', function(err, client, done) {
|
||||
pg.connect('postgres://postgres@db/postgres', function(err, client, done) {
|
||||
if (err) {
|
||||
console.error("Failed to connect to db");
|
||||
}
|
||||
|
Reference in New Issue
Block a user