module.exports = {
    host: process.env['WERCKER_RETHINKDB_HOST'] || 'localhost',
    port: process.env['WERCKER_RETHINKDB_PORT'] || 28015,
    authKey: '',
    buffer: 2,
    max: 5,
    fake_server: {
        host: process.env['WERCKER_RETHINKDB_HOST'] || 'localhost',
        port: process.env['WERCKER_RETHINKDB_PORT']+1 || 28016,
    },
    auto: false
}

@@ -78,32 +78,41 @@
 ost',%0A    port: 
+parseInt(
 process.env%5B'WER
@@ -132,16 +132,17 @@
 B_PORT'%5D
+)
  %7C%7C 2801
@@ -289,16 +289,25 @@
   port: 
+parseInt(
 process.
@@ -335,16 +335,17 @@
 B_PORT'%5D
+)
 +1 %7C%7C 28

Add parseInt for Wercker ports