Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

docs(watch-paths): state that patterns are one per line

Andras Bacsai412e0e58632b
diff --git a/app/Http/Controllers/Api/ApplicationsController.php b/app/Http/Controllers/Api/ApplicationsController.php
index 4dbc4e9a95..32334a16cf 100644
--- a/app/Http/Controllers/Api/ApplicationsController.php
+++ b/app/Http/Controllers/Api/ApplicationsController.php
@@ -418,7 +418,7 @@ class ApplicationsController extends Controller
],
),
],
- 'watch_paths' => ['type' => 'string', 'description' => 'The watch paths.'],
+ 'watch_paths' => ['type' => 'string', 'description' => 'Watch path patterns, one per line (newline-separated). Commas do not separate patterns.'],
'use_build_server' => ['type' => 'boolean', '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.'],
@@ -614,7 +614,7 @@ class ApplicationsController extends Controller
],
),
],
- 'watch_paths' => ['type' => 'string', 'description' => 'The watch paths.'],
+ 'watch_paths' => ['type' => 'string', 'description' => 'Watch path patterns, one per line (newline-separated). Commas do not separate patterns.'],
'use_build_server' => ['type' => 'boolean', '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.'],
@@ -810,7 +810,7 @@ class ApplicationsController extends Controller
],
),
],
- 'watch_paths' => ['type' => 'string', 'description' => 'The watch paths.'],
+ 'watch_paths' => ['type' => 'string', 'description' => 'Watch path patterns, one per line (newline-separated). Commas do not separate patterns.'],
'use_build_server' => ['type' => 'boolean', '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.'],
@@ -3134,7 +3134,7 @@ class ApplicationsController extends Controller
],
),
],
- 'watch_paths' => ['type' => 'string', 'description' => 'The watch paths.'],
+ 'watch_paths' => ['type' => 'string', 'description' => 'Watch path patterns, one per line (newline-separated). Commas do not separate patterns.'],
'use_build_server' => ['type' => 'boolean', '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.'],
diff --git a/openapi.json b/openapi.json
index d25e696bb5..4377d7f8de 100644
--- a/openapi.json
+++ b/openapi.json
@@ -846,7 +846,7 @@
},
"watch_paths": {
"type": "string",
- "description": "The watch paths."
+ "description": "Watch path patterns, one per line (newline-separated). Commas do not separate patterns."
},
"use_build_server": {
"type": "boolean",
@@ -1442,7 +1442,7 @@
},
"watch_paths": {
"type": "string",
- "description": "The watch paths."
+ "description": "Watch path patterns, one per line (newline-separated). Commas do not separate patterns."
},
"use_build_server": {
"type": "boolean",
@@ -2038,7 +2038,7 @@
},
"watch_paths": {
"type": "string",
- "description": "The watch paths."
+ "description": "Watch path patterns, one per line (newline-separated). Commas do not separate patterns."
},
"use_build_server": {
"type": "boolean",
@@ -3701,7 +3701,7 @@
},
"watch_paths": {
"type": "string",
- "description": "The watch paths."
+ "description": "Watch path patterns, one per line (newline-separated). Commas do not separate patterns."
},
"use_build_server": {
"type": "boolean",
diff --git a/openapi.yaml b/openapi.yaml
index c28689096f..a3e7803460 100644
--- a/openapi.yaml
+++ b/openapi.yaml
@@ -542,7 +542,7 @@ paths:
items: { properties: { name: { type: string, description: 'The service name as defined in docker-compose.' }, domain: { type: string, description: 'Comma-separated list of URLs (e.g. "https://app.coolify.io,https://app2.coolify.io")' }, redirect: { type: string, nullable: true, description: 'Per-service www/non-www redirect for this compose service.', enum: [www, non-www, both] } }, type: object }
watch_paths:
type: string
- description: 'The watch paths.'
+ description: 'Watch path patterns, one per line (newline-separated). Commas do not separate patterns.'
use_build_server:
type: boolean
nullable: true
@@ -932,7 +932,7 @@ paths:
items: { properties: { name: { type: string, description: 'The service name as defined in docker-compose.' }, domain: { type: string, description: 'Comma-separated list of URLs (e.g. "https://app.coolify.io,https://app2.coolify.io")' }, redirect: { type: string, nullable: true, description: 'Per-service www/non-www redirect for this compose service.', enum: [www, non-www, both] } }, type: object }
watch_paths:
type: string
- description: 'The watch paths.'
+ description: 'Watch path patterns, one per line (newline-separated). Commas do not separate patterns.'
use_build_server:
type: boolean
nullable: true
@@ -1322,7 +1322,7 @@ paths:
items: { properties: { name: { type: string, description: 'The service name as defined in docker-compose.' }, domain: { type: string, description: 'Comma-separated list of URLs (e.g. "https://app.coolify.io,https://app2.coolify.io")' }, redirect: { type: string, nullable: true, description: 'Per-service www/non-www redirect for this compose service.', enum: [www, non-www, both] } }, type: object }
watch_paths:
type: string
- description: 'The watch paths.'
+ description: 'Watch path patterns, one per line (newline-separated). Commas do not separate patterns.'
use_build_server:
type: boolean
nullable: true
@@ -2430,7 +2430,7 @@ paths:
items: { properties: { name: { type: string, description: 'The service name as defined in docker-compose.' }, domain: { type: string, description: 'Comma-separated list of URLs (e.g. "https://app.coolify.io,https://app2.coolify.io")' }, redirect: { type: string, nullable: true, description: 'Per-service www/non-www redirect for this compose service.', enum: [www, non-www, both] } }, type: object }
watch_paths:
type: string
- description: 'The watch paths.'
+ description: 'Watch path patterns, one per line (newline-separated). Commas do not separate patterns.'
use_build_server:
type: boolean
nullable: true
diff --git a/resources/views/livewire/project/application/general.blade.php b/resources/views/livewire/project/application/general.blade.php
index 611b3ea368..c2e9f500d5 100644
--- a/resources/views/livewire/project/application/general.blade.php
+++ b/resources/views/livewire/project/application/general.blade.php
@@ -210,7 +210,7 @@
@if ($this->application->is_github_based() && !$this->application->is_public_repository())
<div class="pt-4">
<x-forms.textarea
- helper="Order-based pattern matching to filter Git webhook deployments. Supports wildcards (*, **, ?) and negation (!). Last matching pattern wins."
+ helper="Order-based pattern matching to filter Git webhook deployments. Enter one pattern per line. Commas do not separate patterns. Supports wildcards (*, **, ?) and negation (!). Last matching pattern wins."
placeholder="services/api/**" id="watchPaths" label="Watch paths"
x-bind:disabled="shouldDisable()" />
</div>
@@ -266,7 +266,7 @@
@if ($this->application->is_github_based() && !$this->application->is_public_repository())
<div class="pb-4">
<x-forms.textarea
- helper="Order-based pattern matching to filter Git webhook deployments. Supports wildcards (*, **, ?) and negation (!). Last matching pattern wins."
+ helper="Order-based pattern matching to filter Git webhook deployments. Enter one pattern per line. Commas do not separate patterns. Supports wildcards (*, **, ?) and negation (!). Last matching pattern wins."
placeholder="src/pages/**" id="watchPaths" label="Watch paths"
x-bind:disabled="!canUpdate" />
</div>