mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 22:15:35 +00:00
feat(api): add application settings to application endpoints
This commit is contained in:
1 parent
99e255a572
commit
34e6a6dd5d
8 files changed
+1594
-12
No files matched your search
+491
-4
@@ -380,6 +380,68 @@
|
||||
"nullable": true,
|
||||
"description": "Use build server."
|
||||
},
|
||||
"use_build_secrets": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Use Docker Build Secrets for build-time environment variables."
|
||||
},
|
||||
"is_git_submodules_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Clone Git submodules."
|
||||
},
|
||||
"is_git_lfs_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Enable Git LFS."
|
||||
},
|
||||
"is_git_shallow_clone_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Use a shallow Git clone."
|
||||
},
|
||||
"disable_build_cache": {
|
||||
"type": "boolean",
|
||||
"description": "Disable the build cache."
|
||||
},
|
||||
"inject_build_args_to_dockerfile": {
|
||||
"type": "boolean",
|
||||
"description": "Inject build arguments into the Dockerfile build."
|
||||
},
|
||||
"include_source_commit_in_build": {
|
||||
"type": "boolean",
|
||||
"description": "Include the source commit in the build."
|
||||
},
|
||||
"is_env_sorting_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Sort environment variables."
|
||||
},
|
||||
"is_pr_deployments_public_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Make pull request deployments public."
|
||||
},
|
||||
"stop_grace_period": {
|
||||
"type": "integer",
|
||||
"nullable": true,
|
||||
"minimum": 1,
|
||||
"maximum": 3600,
|
||||
"description": "Container stop grace period in seconds."
|
||||
},
|
||||
"docker_images_to_keep": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 100,
|
||||
"description": "Number of Docker images to retain."
|
||||
},
|
||||
"is_gzip_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Enable gzip compression."
|
||||
},
|
||||
"is_stripprefix_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Enable path prefix stripping."
|
||||
},
|
||||
"is_raw_compose_deployment_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Deploy the raw Docker Compose definition."
|
||||
},
|
||||
"is_http_basic_auth_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "HTTP Basic Authentication enabled."
|
||||
@@ -841,6 +903,68 @@
|
||||
"nullable": true,
|
||||
"description": "Use build server."
|
||||
},
|
||||
"use_build_secrets": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Use Docker Build Secrets for build-time environment variables."
|
||||
},
|
||||
"is_git_submodules_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Clone Git submodules."
|
||||
},
|
||||
"is_git_lfs_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Enable Git LFS."
|
||||
},
|
||||
"is_git_shallow_clone_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Use a shallow Git clone."
|
||||
},
|
||||
"disable_build_cache": {
|
||||
"type": "boolean",
|
||||
"description": "Disable the build cache."
|
||||
},
|
||||
"inject_build_args_to_dockerfile": {
|
||||
"type": "boolean",
|
||||
"description": "Inject build arguments into the Dockerfile build."
|
||||
},
|
||||
"include_source_commit_in_build": {
|
||||
"type": "boolean",
|
||||
"description": "Include the source commit in the build."
|
||||
},
|
||||
"is_env_sorting_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Sort environment variables."
|
||||
},
|
||||
"is_pr_deployments_public_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Make pull request deployments public."
|
||||
},
|
||||
"stop_grace_period": {
|
||||
"type": "integer",
|
||||
"nullable": true,
|
||||
"minimum": 1,
|
||||
"maximum": 3600,
|
||||
"description": "Container stop grace period in seconds."
|
||||
},
|
||||
"docker_images_to_keep": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 100,
|
||||
"description": "Number of Docker images to retain."
|
||||
},
|
||||
"is_gzip_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Enable gzip compression."
|
||||
},
|
||||
"is_stripprefix_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Enable path prefix stripping."
|
||||
},
|
||||
"is_raw_compose_deployment_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Deploy the raw Docker Compose definition."
|
||||
},
|
||||
"is_http_basic_auth_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "HTTP Basic Authentication enabled."
|
||||
@@ -1302,6 +1426,68 @@
|
||||
"nullable": true,
|
||||
"description": "Use build server."
|
||||
},
|
||||
"use_build_secrets": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Use Docker Build Secrets for build-time environment variables."
|
||||
},
|
||||
"is_git_submodules_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Clone Git submodules."
|
||||
},
|
||||
"is_git_lfs_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Enable Git LFS."
|
||||
},
|
||||
"is_git_shallow_clone_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Use a shallow Git clone."
|
||||
},
|
||||
"disable_build_cache": {
|
||||
"type": "boolean",
|
||||
"description": "Disable the build cache."
|
||||
},
|
||||
"inject_build_args_to_dockerfile": {
|
||||
"type": "boolean",
|
||||
"description": "Inject build arguments into the Dockerfile build."
|
||||
},
|
||||
"include_source_commit_in_build": {
|
||||
"type": "boolean",
|
||||
"description": "Include the source commit in the build."
|
||||
},
|
||||
"is_env_sorting_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Sort environment variables."
|
||||
},
|
||||
"is_pr_deployments_public_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Make pull request deployments public."
|
||||
},
|
||||
"stop_grace_period": {
|
||||
"type": "integer",
|
||||
"nullable": true,
|
||||
"minimum": 1,
|
||||
"maximum": 3600,
|
||||
"description": "Container stop grace period in seconds."
|
||||
},
|
||||
"docker_images_to_keep": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 100,
|
||||
"description": "Number of Docker images to retain."
|
||||
},
|
||||
"is_gzip_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Enable gzip compression."
|
||||
},
|
||||
"is_stripprefix_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Enable path prefix stripping."
|
||||
},
|
||||
"is_raw_compose_deployment_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Deploy the raw Docker Compose definition."
|
||||
},
|
||||
"is_http_basic_auth_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "HTTP Basic Authentication enabled."
|
||||
@@ -1668,6 +1854,68 @@
|
||||
"nullable": true,
|
||||
"description": "Use build server."
|
||||
},
|
||||
"use_build_secrets": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Use Docker Build Secrets for build-time environment variables."
|
||||
},
|
||||
"is_git_submodules_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Clone Git submodules."
|
||||
},
|
||||
"is_git_lfs_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Enable Git LFS."
|
||||
},
|
||||
"is_git_shallow_clone_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Use a shallow Git clone."
|
||||
},
|
||||
"disable_build_cache": {
|
||||
"type": "boolean",
|
||||
"description": "Disable the build cache."
|
||||
},
|
||||
"inject_build_args_to_dockerfile": {
|
||||
"type": "boolean",
|
||||
"description": "Inject build arguments into the Dockerfile build."
|
||||
},
|
||||
"include_source_commit_in_build": {
|
||||
"type": "boolean",
|
||||
"description": "Include the source commit in the build."
|
||||
},
|
||||
"is_env_sorting_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Sort environment variables."
|
||||
},
|
||||
"is_pr_deployments_public_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Make pull request deployments public."
|
||||
},
|
||||
"stop_grace_period": {
|
||||
"type": "integer",
|
||||
"nullable": true,
|
||||
"minimum": 1,
|
||||
"maximum": 3600,
|
||||
"description": "Container stop grace period in seconds."
|
||||
},
|
||||
"docker_images_to_keep": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 100,
|
||||
"description": "Number of Docker images to retain."
|
||||
},
|
||||
"is_gzip_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Enable gzip compression."
|
||||
},
|
||||
"is_stripprefix_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Enable path prefix stripping."
|
||||
},
|
||||
"is_raw_compose_deployment_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Deploy the raw Docker Compose definition."
|
||||
},
|
||||
"is_http_basic_auth_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "HTTP Basic Authentication enabled."
|
||||
@@ -2014,6 +2262,68 @@
|
||||
"nullable": true,
|
||||
"description": "Use build server."
|
||||
},
|
||||
"use_build_secrets": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Use Docker Build Secrets for build-time environment variables."
|
||||
},
|
||||
"is_git_submodules_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Clone Git submodules."
|
||||
},
|
||||
"is_git_lfs_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Enable Git LFS."
|
||||
},
|
||||
"is_git_shallow_clone_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Use a shallow Git clone."
|
||||
},
|
||||
"disable_build_cache": {
|
||||
"type": "boolean",
|
||||
"description": "Disable the build cache."
|
||||
},
|
||||
"inject_build_args_to_dockerfile": {
|
||||
"type": "boolean",
|
||||
"description": "Inject build arguments into the Dockerfile build."
|
||||
},
|
||||
"include_source_commit_in_build": {
|
||||
"type": "boolean",
|
||||
"description": "Include the source commit in the build."
|
||||
},
|
||||
"is_env_sorting_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Sort environment variables."
|
||||
},
|
||||
"is_pr_deployments_public_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Make pull request deployments public."
|
||||
},
|
||||
"stop_grace_period": {
|
||||
"type": "integer",
|
||||
"nullable": true,
|
||||
"minimum": 1,
|
||||
"maximum": 3600,
|
||||
"description": "Container stop grace period in seconds."
|
||||
},
|
||||
"docker_images_to_keep": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 100,
|
||||
"description": "Number of Docker images to retain."
|
||||
},
|
||||
"is_gzip_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Enable gzip compression."
|
||||
},
|
||||
"is_stripprefix_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Enable path prefix stripping."
|
||||
},
|
||||
"is_raw_compose_deployment_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Deploy the raw Docker Compose definition."
|
||||
},
|
||||
"is_http_basic_auth_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "HTTP Basic Authentication enabled."
|
||||
@@ -2596,6 +2906,67 @@
|
||||
"nullable": true,
|
||||
"description": "Use build server."
|
||||
},
|
||||
"use_build_secrets": {
|
||||
"type": "boolean",
|
||||
"description": "Use Docker Build Secrets for build-time environment variables."
|
||||
},
|
||||
"is_git_submodules_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Clone Git submodules."
|
||||
},
|
||||
"is_git_lfs_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Enable Git LFS."
|
||||
},
|
||||
"is_git_shallow_clone_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Use a shallow Git clone."
|
||||
},
|
||||
"disable_build_cache": {
|
||||
"type": "boolean",
|
||||
"description": "Disable the build cache."
|
||||
},
|
||||
"inject_build_args_to_dockerfile": {
|
||||
"type": "boolean",
|
||||
"description": "Inject build arguments into the Dockerfile build."
|
||||
},
|
||||
"include_source_commit_in_build": {
|
||||
"type": "boolean",
|
||||
"description": "Include the source commit in the build."
|
||||
},
|
||||
"is_env_sorting_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Sort environment variables."
|
||||
},
|
||||
"is_pr_deployments_public_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Make pull request deployments public."
|
||||
},
|
||||
"stop_grace_period": {
|
||||
"type": "integer",
|
||||
"nullable": true,
|
||||
"minimum": 1,
|
||||
"maximum": 3600,
|
||||
"description": "Container stop grace period in seconds."
|
||||
},
|
||||
"docker_images_to_keep": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 100,
|
||||
"description": "Number of Docker images to retain."
|
||||
},
|
||||
"is_gzip_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Enable gzip compression."
|
||||
},
|
||||
"is_stripprefix_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Enable path prefix stripping."
|
||||
},
|
||||
"is_raw_compose_deployment_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Deploy the raw Docker Compose definition."
|
||||
},
|
||||
"connect_to_docker_network": {
|
||||
"type": "boolean",
|
||||
"description": "The flag to connect the service to the predefined Docker network."
|
||||
@@ -2612,10 +2983,6 @@
|
||||
"is_preserve_repository_enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Preserve git repository during application update. If false, the existing repository will be removed and replaced with the new one. If true, the existing repository will be kept and the new one will be ignored. Default is false."
|
||||
},
|
||||
"include_source_commit_in_build": {
|
||||
"type": "boolean",
|
||||
"description": "Include source commit information in the build. Default is false."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -15146,6 +15513,9 @@
|
||||
"type": "string",
|
||||
"nullable": true,
|
||||
"description": "Password for HTTP Basic Authentication"
|
||||
},
|
||||
"": {
|
||||
"$ref": "#\/components\/schemas\/ApplicationSetting"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -15241,6 +15611,123 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ApplicationSetting": {
|
||||
"description": "Application settings.",
|
||||
"properties": {
|
||||
"is_static": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"is_git_submodules_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"is_git_lfs_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"is_auto_deploy_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"is_force_https_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"is_debug_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"is_preview_deployments_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"is_log_drain_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"is_gpu_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"gpu_driver": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"gpu_count": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"gpu_device_ids": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"gpu_options": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"is_include_timestamps": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"is_swarm_only_worker_nodes": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"is_raw_compose_deployment_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"is_build_server_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"is_consistent_container_name_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"is_gzip_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"is_stripprefix_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"connect_to_docker_network": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"custom_internal_name": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"is_container_label_escape_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"is_env_sorting_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"is_container_label_readonly_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"is_preserve_repository_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"disable_build_cache": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"is_spa": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"is_git_shallow_clone_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"is_pr_deployments_public_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"use_build_secrets": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"inject_build_args_to_dockerfile": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"include_source_commit_in_build": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"docker_images_to_keep": {
|
||||
"type": "integer"
|
||||
},
|
||||
"stop_grace_period": {
|
||||
"type": "integer",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Environment": {
|
||||
"description": "Environment model",
|
||||
"properties": {
|
||||
|
||||
Reference in new issue
Block a user