Skip to content

Instantly share code, notes, and snippets.

@YavorK
Created September 2, 2016 07:36
Show Gist options
  • Save YavorK/280f9af3cd4e4163add855d3346507ea to your computer and use it in GitHub Desktop.
Save YavorK/280f9af3cd4e4163add855d3346507ea to your computer and use it in GitHub Desktop.
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Remote Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify the default connection that will be used for SSH
| operations. This name should correspond to a connection name below
| in the server list. Each connection will be manually accessible.
|
*/
'default' => 'original_server',
/*
|--------------------------------------------------------------------------
| Remote Server Connections
|--------------------------------------------------------------------------
|
| These are the servers that will be accessible via the SSH task runner
| facilities of Laravel. This feature radically simplifies executing
| tasks on your servers, such as deploying out these applications.
|
*/
'connections' => [
'production' => [
'host' => '',
'username' => '',
'password' => '',
'key' => '',
'keytext' => '',
'keyphrase' => '',
'agent' => '',
'timeout' => 10,
],
'original_server' => [
'host' => env('ORIGINAL_SERVER_SSH_ADDRESS'),
'username' => env('ORIGINAL_SERVER_SSH_USERNAME'),
'password' => env('ORIGINAL_SERVER_SSH_PASSWORD'),
'key' => '',
'keytext' => '',
'keyphrase' => '',
'agent' => '',
'timeout' => 10,
],
],
/*
|--------------------------------------------------------------------------
| Remote Server Groups
|--------------------------------------------------------------------------
|
| Here you may list connections under a single group name, which allows
| you to easily access all of the servers at once using a short name
| that is extremely easy to remember, such as "web" or "database".
|
*/
'groups' => [
'web' => ['production'],
],
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment