chore: update deployer config after final migration to new host

This commit is contained in:
2026-09-12 08:24:15 +02:00
parent 24451d0f36
commit 9072e764c0
+3 -36
View File
@@ -22,7 +22,7 @@ set('keep_releases', 3);
// Rsync options, mainly files/dirs to exclude // Rsync options, mainly files/dirs to exclude
$rsyncOptions = [ $rsyncOptions = [
'exclude' => [ 'exclude' => [
'.cursor', '.claude',
'.idea', '.idea',
'.vscode', '.vscode',
'.DS_Store', '.DS_Store',
@@ -70,44 +70,16 @@ $rsyncOptions = [
]; ];
host('prod') host('prod')
->setHostname('185.243.135.29')
->setRemoteUser('p704161')
->setForwardAgent(true)
->setSshMultiplexing(true)
->setDeployPath('/home/www/p704161/html/myep-team')
->set('writable_mode', 'chmod')
->set('http_user', 'p704161')
->set('bin/php', '/usr/local/bin/php')
->set('rsync_src', __DIR__)
->set('rsync', $rsyncOptions)
->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://myep-team.ep-reisen.de')
;
host('staging')
->setHostname('185.243.135.29')
->setRemoteUser('p704161')
->setForwardAgent(true)
->setSshMultiplexing(true)
->setDeployPath('/home/www/p704161/html/myep-team-staging')
->set('writable_mode', 'chmod')
->set('http_user', 'p704161')
->set('bin/php', '/usr/local/bin/php')
->set('rsync_src', __DIR__)
->set('rsync', $rsyncOptions)
->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://myep-team.ep-reisen.net')
;
host('hetzner')
->setHostname('dedi10193.your-server.de') ->setHostname('dedi10193.your-server.de')
->setRemoteUser('myepteam') ->setRemoteUser('myepteam')
->setForwardAgent(true) ->setForwardAgent(true)
->setSshMultiplexing(true) ->setSshMultiplexing(true)
->setDeployPath('/usr/home/myepteam/public_html/myep-team') ->setDeployPath('/usr/home/myepteam/public_html/prod')
->set('bin/php', '/usr/bin/php') ->set('bin/php', '/usr/bin/php')
->set('http_user', 'myepteam') ->set('http_user', 'myepteam')
->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://myep-team.ep-reisen.net') ->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://team.ep-reisen.de')
; ;
task('deploy', [ task('deploy', [
@@ -116,7 +88,6 @@ task('deploy', [
'deploy:lock', 'deploy:lock',
'deploy:release', 'deploy:release',
'deploy:assets', 'deploy:assets',
'deploy:check-platform',
'rsync', 'rsync',
'deploy:shared', 'deploy:shared',
'deploy:writable', 'deploy:writable',
@@ -127,10 +98,6 @@ task('deploy', [
'deploy:stop-workers', 'deploy:stop-workers',
]); ]);
task('deploy:check-platform', function () {
runLocally('composer check-platform-reqs');
});
task('deploy:stop-workers', function () { task('deploy:stop-workers', function () {
run('{{bin/console}} messenger:stop-workers'); run('{{bin/console}} messenger:stop-workers');
}); });