commandosslabs/Coolify Docker Compose Deploy

Create or update a Coolify Docker Compose service, sync environment variables, and restart the service.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 18, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: commandosslabs/coolify-deploy-action@d3cef798f8b5db0cb8c7b881a5e31931af958916 # v1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
coolify_domainCoolify domain or base URL. Use `app.coolify.io` for Coolify Cloud, or your self-hosted Coolify domain. If the protocol is omitted, `https://` is used. The action appends `/api/v1` automatically unless it is already present.noapp.coolify.io
api_tokenCoolify API token.yes
docker_composeDocker Compose file content or path to a compose file. If the value matches an existing file path, the file is read automatically. Otherwise, the value is treated as raw Docker Compose content.yes
environment_variablesService environment variables as a JSON array. Each entry must include `key`, `value`, and `is_secret`.no
project_uuidProject UUID. Required when `service_uuid` is not provided.no
server_uuidServer UUID. Required when `service_uuid` is not provided.no
environment_name_or_uuidEnvironment name or UUID. Required when `service_uuid` is not provided.no
service_uuidExisting Coolify service UUID. If provided, the action updates this service and returns the same UUID. If omitted, the action creates a new Docker Compose service and returns the new UUID.no
service_optionsJSON object sent to PATCH /services/{uuid}. Supported fields: `name`, `description`, `urls`. Other fields are ignored with a warning. These options are not sent when creating a new service; they are applied via a separate update call after creation.no
request_timeout_msHTTP request timeout in milliseconds.no30000
request_retry_countNumber of times to retry timed-out or unknown transport errors. HTTP response errors from Coolify are not retried.no0
namedescription
service_uuidCoolify service UUID.
createdWhether the action created a new service.