feat(api): add update urls support to services api

- added update urls support to services api
- remove old stale domains update code
This commit is contained in:
peaklabs-dev
2026-01-11 22:19:09 +01:00
parent 44dde8482e
commit 764d8861f6
3 changed files with 195 additions and 39 deletions

View File

@@ -5606,6 +5606,10 @@ paths:
docker_compose_raw:
type: string
description: 'The base64 encoded Docker Compose content.'
urls:
type: array
description: 'Array of URLs to be applied to containers of a service.'
items: { properties: { name: { type: string, description: 'The service name as defined in docker-compose.' }, url: { type: string, description: 'Comma-separated list of domains (e.g. "http://app.coolify.io,https://app2.coolify.io").' } }, type: object }
type: object
responses:
'201':
@@ -5773,6 +5777,10 @@ paths:
docker_compose_raw:
type: string
description: 'The base64 encoded Docker Compose content.'
urls:
type: array
description: 'Array of URLs to be applied to containers of a service.'
items: { properties: { name: { type: string, description: 'The service name as defined in docker-compose.' }, url: { type: string, description: 'Comma-separated list of domains (e.g. "http://app.coolify.io,https://app2.coolify.io").' } }, type: object }
type: object
responses:
'200':