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
}

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

Add parseInt for Wercker ports
Add parseInt for Wercker ports
