Skip to content

Commit d6d194d

Browse files
authored
Merge pull request coollabsio#2880 from coollabsio/next
v4.0.0-beta.317
2 parents f21c12f + 0e99f97 commit d6d194d

File tree

7 files changed

+100
-126
lines changed

7 files changed

+100
-126
lines changed

app/Http/Controllers/Api/ApplicationsController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ public function create_dockercompose_application(Request $request)
620620

621621
private function create_application(Request $request, $type)
622622
{
623-
$allowedFields = ['project_uuid', 'environment_name', 'server_uuid', 'destination_uuid', 'type', 'name', 'description', 'is_static', 'domains', 'git_repository', 'git_branch', 'git_commit_sha', 'docker_registry_image_name', 'docker_registry_image_tag', 'build_pack', 'install_command', 'build_command', 'start_command', 'ports_exposes', 'ports_mappings', 'base_directory', 'publish_directory', 'health_check_enabled', 'health_check_path', 'health_check_port', 'health_check_host', 'health_check_method', 'health_check_return_code', 'health_check_scheme', 'health_check_response_text', 'health_check_interval', 'health_check_timeout', 'health_check_retries', 'health_check_start_period', 'limits_memory', 'limits_memory_swap', 'limits_memory_swappiness', 'limits_memory_reservation', 'limits_cpus', 'limits_cpuset', 'limits_cpu_shares', 'custom_labels', 'custom_docker_run_options', 'post_deployment_command', 'post_deployment_command_container', 'pre_deployment_command', 'pre_deployment_command_container', 'manual_webhook_secret_github', 'manual_webhook_secret_gitlab', 'manual_webhook_secret_bitbucket', 'manual_webhook_secret_gitea', 'redirect', 'github_app_uuid', 'instant_deploy', 'dockerfile', 'docker_compose_location', 'docker_compose_raw', 'docker_compose_custom_start_command', 'docker_compose_custom_build_command', 'docker_compose_domains', 'watch_paths'];
623+
$allowedFields = ['project_uuid', 'environment_name', 'server_uuid', 'destination_uuid', 'type', 'name', 'description', 'is_static', 'domains', 'git_repository', 'git_branch', 'git_commit_sha', 'private_key_uuid', 'docker_registry_image_name', 'docker_registry_image_tag', 'build_pack', 'install_command', 'build_command', 'start_command', 'ports_exposes', 'ports_mappings', 'base_directory', 'publish_directory', 'health_check_enabled', 'health_check_path', 'health_check_port', 'health_check_host', 'health_check_method', 'health_check_return_code', 'health_check_scheme', 'health_check_response_text', 'health_check_interval', 'health_check_timeout', 'health_check_retries', 'health_check_start_period', 'limits_memory', 'limits_memory_swap', 'limits_memory_swappiness', 'limits_memory_reservation', 'limits_cpus', 'limits_cpuset', 'limits_cpu_shares', 'custom_labels', 'custom_docker_run_options', 'post_deployment_command', 'post_deployment_command_container', 'pre_deployment_command', 'pre_deployment_command_container', 'manual_webhook_secret_github', 'manual_webhook_secret_gitlab', 'manual_webhook_secret_bitbucket', 'manual_webhook_secret_gitea', 'redirect', 'github_app_uuid', 'instant_deploy', 'dockerfile', 'docker_compose_location', 'docker_compose_raw', 'docker_compose_custom_start_command', 'docker_compose_custom_build_command', 'docker_compose_domains', 'watch_paths'];
624624
$teamId = getTeamIdFromToken();
625625
if (is_null($teamId)) {
626626
return invalidTokenResponse();

app/Jobs/ApplicationDeploymentJob.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -299,13 +299,13 @@ public function handle(): void
299299
} else {
300300
$this->write_deployment_configurations();
301301
}
302-
// $this->execute_remote_command(
303-
// [
304-
// "docker rm -f {$this->deployment_uuid} >/dev/null 2>&1",
305-
// 'hidden' => true,
306-
// 'ignore_errors' => true,
307-
// ]
308-
// );
302+
$this->execute_remote_command(
303+
[
304+
"docker rm -f {$this->deployment_uuid} >/dev/null 2>&1",
305+
'hidden' => true,
306+
'ignore_errors' => true,
307+
]
308+
);
309309

310310
// $this->execute_remote_command(
311311
// [

bootstrap/helpers/proxy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ function generate_default_proxy_configuration(Server $server)
132132
'services' => [
133133
'traefik' => [
134134
'container_name' => 'coolify-proxy',
135-
'image' => 'traefik:v2.10',
135+
'image' => 'traefik:v2.11',
136136
'restart' => RESTART_MODE,
137137
'extra_hosts' => [
138138
'host.docker.internal:host-gateway',

config/sentry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
// The release version of your application
99
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
10-
'release' => '4.0.0-beta.316',
10+
'release' => '4.0.0-beta.317',
1111
// When left empty or `null` the Laravel environment will be used
1212
'environment' => config('app.env'),
1313

config/version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<?php
22

3-
return '4.0.0-beta.316';
3+
return '4.0.0-beta.317';

0 commit comments

Comments
 (0)