You need to add whatever comes back from the terminal when you run
hostname
This will likely be something like Your-computer-name.local
So you would add that to your array like this:
$env = $app->detectEnvironment(array(
'prod' => array('dossiya-v2'),
'local' => array('ubuntu', 'Your-computer-name.local')
));
See here in the docs: http://laravel.com/docs/configuration#environment-configuration