chore: adjust deployer config for new Hetzner host

This commit is contained in:
2026-09-03 08:18:46 +02:00
parent 20e56aab1f
commit e27b376285
+19 -4
View File
@@ -73,8 +73,21 @@ host('production')
->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://www.ep-reisen.de')
;
$sharedFilesStaging = get('shared_files');
$sharedFilesStaging[] = '{{typo3_webroot}}/.htpasswd';
host('hetzner')
->setHostname('dedi10193.your-server.de')
->setRemoteUser('eptypo3')
->setForwardAgent(true)
->setSshMultiplexing(true)
->setDeployPath('/usr/home/eptypo3/public_html/{{application}}')
->set('bin/php', '/usr/bin/php74')
->set('http_user', 'eptypo3')
->set('writable_mode', 'chmod')
->set('bin/composer', '/usr/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://test.ep-reisen.de')
;
host('staging')
->setHostname('185.237.67.190')
@@ -91,7 +104,9 @@ host('staging')
->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')
->set('shared_files', $sharedFilesStaging)
->add('shared_files', [
'{{typo3_webroot}}/.htpasswd',
])
;
task('deploy', [
@@ -108,7 +123,7 @@ task('deploy', [
'deploy:publish',
'cachetool:clear:opcache',
'typo3:cache:flush',
'deploy:buspronet:symlink',
// 'deploy:buspronet:symlink',
]);
task('deploy:buspronet:symlink', function () {