chore: finalize deployer config to new target host
This commit is contained in:
+4
-40
@@ -57,29 +57,13 @@ $rsyncOptions = [
|
|||||||
'timeout' => 300,
|
'timeout' => 300,
|
||||||
];
|
];
|
||||||
|
|
||||||
host('production')
|
host('prod')
|
||||||
->setHostname('185.237.67.190')
|
|
||||||
->setRemoteUser('p546128')
|
|
||||||
->setForwardAgent(true)
|
|
||||||
->setSshMultiplexing(true)
|
|
||||||
->setDeployPath('/home/www/p546128/html/{{application}}')
|
|
||||||
->set('buspronet_path', '/home/www/p546128/html/kuschick/buspronet/buspronet')
|
|
||||||
->set('bin/php', '/usr/local/bin/php')
|
|
||||||
->set('http_user', 'p546128')
|
|
||||||
->set('writable_mode', 'chmod')
|
|
||||||
->set('bin/composer', '/usr/local/bin/composer')
|
|
||||||
->set('composer_options', '--prefer-dist --no-progress --no-interaction --optimize-autoloader')
|
|
||||||
->set('rsync_src', __DIR__)
|
|
||||||
->set('rsync', $rsyncOptions)
|
|
||||||
->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://www.ep-reisen.de')
|
|
||||||
;
|
|
||||||
|
|
||||||
host('hetzner')
|
|
||||||
->setHostname('dedi10193.your-server.de')
|
->setHostname('dedi10193.your-server.de')
|
||||||
->setRemoteUser('eptypo3')
|
->setRemoteUser('eptypo3')
|
||||||
->setForwardAgent(true)
|
->setForwardAgent(true)
|
||||||
->setSshMultiplexing(true)
|
->setSshMultiplexing(true)
|
||||||
->setDeployPath('/usr/home/eptypo3/public_html/{{application}}')
|
->setDeployPath('/usr/home/eptypo3/public_html/{{application}}')
|
||||||
|
->set('buspronet_path', '/usr/home/eptypo3/public_html/kuschick/buspronet/buspronet')
|
||||||
->set('bin/php', '/usr/bin/php74')
|
->set('bin/php', '/usr/bin/php74')
|
||||||
->set('http_user', 'eptypo3')
|
->set('http_user', 'eptypo3')
|
||||||
->set('writable_mode', 'chmod')
|
->set('writable_mode', 'chmod')
|
||||||
@@ -87,27 +71,7 @@ host('hetzner')
|
|||||||
->set('composer_options', '--prefer-dist --no-progress --no-interaction --optimize-autoloader')
|
->set('composer_options', '--prefer-dist --no-progress --no-interaction --optimize-autoloader')
|
||||||
->set('rsync_src', __DIR__)
|
->set('rsync_src', __DIR__)
|
||||||
->set('rsync', $rsyncOptions)
|
->set('rsync', $rsyncOptions)
|
||||||
->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://test.ep-reisen.de')
|
->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://www.ep-reisen.de')
|
||||||
;
|
|
||||||
|
|
||||||
host('staging')
|
|
||||||
->setHostname('185.237.67.190')
|
|
||||||
->setRemoteUser('p546128')
|
|
||||||
->setForwardAgent(true)
|
|
||||||
->setSshMultiplexing(true)
|
|
||||||
->setDeployPath('/home/www/p546128/html/{{application}}-staging')
|
|
||||||
->set('buspronet_path', '/home/www/p546128/html/kuschick/buspronet/buspronet')
|
|
||||||
->set('bin/php', '/usr/local/bin/php')
|
|
||||||
->set('http_user', 'p546128')
|
|
||||||
->set('writable_mode', 'chmod')
|
|
||||||
->set('bin/composer', '/usr/local/bin/composer')
|
|
||||||
->set('composer_options', '--prefer-dist --no-progress --no-interaction --optimize-autoloader')
|
|
||||||
->set('rsync_src', __DIR__)
|
|
||||||
->set('rsync', $rsyncOptions)
|
|
||||||
->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://staging.ep-reisen.de --web-basic-auth=ep:reisen')
|
|
||||||
->add('shared_files', [
|
|
||||||
'{{typo3_webroot}}/.htpasswd',
|
|
||||||
])
|
|
||||||
;
|
;
|
||||||
|
|
||||||
task('deploy', [
|
task('deploy', [
|
||||||
@@ -124,7 +88,7 @@ task('deploy', [
|
|||||||
'deploy:publish',
|
'deploy:publish',
|
||||||
'cachetool:clear:opcache',
|
'cachetool:clear:opcache',
|
||||||
'typo3:cache:flush',
|
'typo3:cache:flush',
|
||||||
// 'deploy:buspronet:symlink',
|
'deploy:buspronet:symlink',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
task('deploy:buspronet:symlink', function () {
|
task('deploy:buspronet:symlink', function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user