Bỏ qua, tới nội dung
Dymini Panel
v0.18.1
Mục lục
Bạn đang xem tài liệu của v0.18.1.Xem bản mới nhất

Stacks

Trong trang này

Docker Compose stacks and app templates

Install a digest-pinned plugin stack with optional volume backup

POST/api/v1/environments/{id}/plugins/{slug}/install

Nội dung gửi lênapplication/json

InstallPlugin

  • access_enabledboolean | null
  • backupPluginBackup | null
    PluginBackup | null

    Một trong:

    • PluginBackup
      • destination_idsstring (uuid)[]bắt buộc
      • keep_lastinteger | null (int32)
      • schedulestring | null
    • null
  • namestringbắt buộc
  • server_idstring (uuid)bắt buộc
  • startboolean | null
  • valuesobject
  • versionstring | null

Phản hồi

  • 201 Install a digest-pinned plugin stack with optional volume backupPluginInstalled
    • deploymentDeploymentView | null
      DeploymentView | null

      Một trong:

      • DeploymentView
        • created_atstring (date-time)bắt buộc
        • errorstring | null
        • finished_atstring | null (date-time)
        • idstring (uuid)bắt buộc
        • image_refstring | null
        • logsstringbắt buộc

          The end of the log (at most 200 000 characters); see logs_truncated.

        • logs_truncatedbooleanbắt buộc

          The log is longer than logs; the whole text is at /api/v1/services/{id}/deployments/{deployment}/logs.

        • service_idstring (uuid)bắt buộc
        • started_atstring | null (date-time)
        • statusstringbắt buộc
        • triggerstringbắt buộc
      • null
    • domainstring | null
    • generatedGeneratedValue[]bắt buộc

      Secrets generated for empty fields. Shown once; they are stored encrypted.

      GeneratedValue[]
      • keystringbắt buộc
      • valuestringbắt buộc
    • serviceServiceViewbắt buộc
      ServiceView
      • created_atstring (date-time)bắt buộc
      • environment_idstring (uuid)bắt buộc
      • idstring (uuid)bắt buộc
      • kindstringbắt buộc
      • namestringbắt buộc
      • server_idstring (uuid)bắt buộc
      • specanybắt buộc
      • statusstringbắt buộc
    • installPluginInstallbắt buộc
      PluginInstall
      • access_bypass_pathsstring[]bắt buộc
      • access_enabledbooleanbắt buộc
      • backup_job_idstring | null (uuid)
      • created_atstring (date-time)bắt buộc
      • environment_idstring (uuid)bắt buộc
      • environment_namestringbắt buộc
      • idstring (uuid)bắt buộc
      • imagestringbắt buộc
      • installed_versionstringbắt buộc
      • last_errorstring | null
      • latest_versionstring | null
      • pending_releasesPluginRelease[]bắt buộc
        PluginRelease[]
        • html_urlstring | null
        • imagestringbắt buộc
        • notesstringbắt buộc
        • published_atstring | null
        • versionstringbắt buộc
      • pluginstringbắt buộc
      • safety_run_idstring | null (uuid)
      • server_idstring (uuid)bắt buộc
      • server_namestringbắt buộc
      • service_idstring (uuid)bắt buộc
      • service_namestringbắt buộc
      • statusstringbắt buộc
      • update_availablebooleanbắt buộc
      • updated_atstring (date-time)bắt buộc

Create a compose stack from YAML or Git

POST/api/v1/environments/{id}/stacks

Nội dung gửi lênapplication/json

CreateStack

  • build_on_deployboolean | null

    Deploy also builds images that have a build: section. Defaults to false.

  • compose_yamlstring | null
  • deploy_on_pushboolean | null

    A push to the Git branch deploys the stack. Defaults to false.

  • gitStackGit | null
    StackGit | null

    Một trong:

    • StackGit
      • branchstringbắt buộc
      • compose_filestringbắt buộc

        Path of the compose file inside the repository.

      • provider_idstring (uuid)bắt buộc
      • repostringbắt buộc
    • null
  • main_servicestring | null

    Compose service new domains point at by default.

  • namestringbắt buộc
  • preview_pull_requestsboolean | null

    Open pull requests against the branch get their own copy of this stack.

  • projectstring | null

    Compose project name, which prefixes the containers, networks and named volumes. Give the name of a project that already runs on the server to take its volumes over. Defaults to the stack name plus six random characters.

  • server_idstring (uuid)bắt buộc
  • sourcestringbắt buộc

    inline (paste YAML) or git.

  • startboolean | null

    Run docker compose up right away. Defaults to false.

Phản hồi

  • 201 Create a compose stack from YAML or GitStackView
    • build_on_deploybooleanbắt buộc

      Deploy also builds images that have a build: section.

    • compose_pathstringbắt buộc
    • compose_yamlstringbắt buộc
    • deploy_on_pushbooleanbắt buộc

      A push to the Git branch deploys the stack.

    • generated_yamlstringbắt buộc

      The file Dymini Panel runs: project name, labels, and proxy network applied.

    • gitStackGit | null
      StackGit | null

      Một trong:

      • StackGit
        • branchstringbắt buộc
        • compose_filestringbắt buộc

          Path of the compose file inside the repository.

        • provider_idstring (uuid)bắt buộc
        • repostringbắt buộc
      • null
    • main_servicestring | null
    • missing_variablesstring[]bắt buộc

      Referenced variables with no value under Environment and no fallback in the file.

    • network_isolationbooleanbắt buộc

      Host ports are not published. Missing means on.

    • preview_pull_requestsbooleanbắt buộc

      Open pull requests against the branch get their own copy of this stack.

    • projectstringbắt buộc
    • serviceServiceViewbắt buộc
      ServiceView
      • created_atstring (date-time)bắt buộc
      • environment_idstring (uuid)bắt buộc
      • idstring (uuid)bắt buộc
      • kindstringbắt buộc
      • namestringbắt buộc
      • server_idstring (uuid)bắt buộc
      • specanybắt buộc
      • statusstringbắt buộc
    • servicesStackServiceView[]bắt buộc
      StackServiceView[]
      • buildbooleanbắt buộc

        Built from a build: section, so a plain deploy does not pick up new code.

      • containerstringbắt buộc
      • imagestring | null
      • namestringbắt buộc
      • routedbooleanbắt buộc
      • runningboolean | null

        Null when the server cannot be reached.

    • sourcestringbắt buộc
    • templatestring | null
    • variable_detailsStackVariableView[]bắt buộc

      Every variable the file reads, and whether it is set or has a fallback.

      StackVariableView[]
      • has_defaultbooleanbắt buộc

        The file gives a fallback (${NAME:-x}) everywhere it reads the variable.

      • namestringbắt buộc
      • requiredbooleanbắt buộc

        The file refuses to start without it (${NAME:?error}).

      • setbooleanbắt buộc

        A value is saved under Environment.

    • variablesstring[]bắt buộc

      ${NAME} references in the compose file.

    • warningsstring[]bắt buộc

Deploy a template as a stack

POST/api/v1/environments/{id}/templates/{slug}/deploy

Nội dung gửi lênapplication/json

DeployTemplate

  • namestringbắt buộc
  • server_idstring (uuid)bắt buộc
  • startboolean | null

    Run docker compose up right away. Defaults to true.

  • valuesobject

Phản hồi

  • 201 Deploy a template as a stackTemplateDeployed
    • deploymentDeploymentView | null
      DeploymentView | null

      Một trong:

      • DeploymentView
        • created_atstring (date-time)bắt buộc
        • errorstring | null
        • finished_atstring | null (date-time)
        • idstring (uuid)bắt buộc
        • image_refstring | null
        • logsstringbắt buộc

          The end of the log (at most 200 000 characters); see logs_truncated.

        • logs_truncatedbooleanbắt buộc

          The log is longer than logs; the whole text is at /api/v1/services/{id}/deployments/{deployment}/logs.

        • service_idstring (uuid)bắt buộc
        • started_atstring | null (date-time)
        • statusstringbắt buộc
        • triggerstringbắt buộc
      • null
    • domainstring | null
    • generatedGeneratedValue[]bắt buộc

      Secrets generated for empty fields. Shown once; they are stored encrypted.

      GeneratedValue[]
      • keystringbắt buộc
      • valuestringbắt buộc
    • serviceServiceViewbắt buộc
      ServiceView
      • created_atstring (date-time)bắt buộc
      • environment_idstring (uuid)bắt buộc
      • idstring (uuid)bắt buộc
      • kindstringbắt buộc
      • namestringbắt buộc
      • server_idstring (uuid)bắt buộc
      • specanybắt buộc
      • statusstringbắt buộc

Enable or disable the manifest-managed Access policy; other paths stay protected

PUT/api/v1/plugin-installs/{id}/access

Nội dung gửi lênapplication/json

PluginAccessSettings

  • enabledbooleanbắt buộc

Phản hồi

  • 200 Enable or disable the manifest-managed Access policy; other paths stay protectedPluginInstall
    • access_bypass_pathsstring[]bắt buộc
    • access_enabledbooleanbắt buộc
    • backup_job_idstring | null (uuid)
    • created_atstring (date-time)bắt buộc
    • environment_idstring (uuid)bắt buộc
    • environment_namestringbắt buộc
    • idstring (uuid)bắt buộc
    • imagestringbắt buộc
    • installed_versionstringbắt buộc
    • last_errorstring | null
    • latest_versionstring | null
    • pending_releasesPluginRelease[]bắt buộc
      PluginRelease[]
      • html_urlstring | null
      • imagestringbắt buộc
      • notesstringbắt buộc
      • published_atstring | null
      • versionstringbắt buộc
    • pluginstringbắt buộc
    • safety_run_idstring | null (uuid)
    • server_idstring (uuid)bắt buộc
    • server_namestringbắt buộc
    • service_idstring (uuid)bắt buộc
    • service_namestringbắt buộc
    • statusstringbắt buộc
    • update_availablebooleanbắt buộc
    • updated_atstring (date-time)bắt buộc

Attach or replace a plugin volume backup job

POST/api/v1/plugin-installs/{id}/backup

Nội dung gửi lênapplication/json

PluginBackup

  • destination_idsstring (uuid)[]bắt buộc
  • keep_lastinteger | null (int32)
  • schedulestring | null

Phản hồi

  • 200 Attach or replace a plugin volume backup jobPluginInstall
    • access_bypass_pathsstring[]bắt buộc
    • access_enabledbooleanbắt buộc
    • backup_job_idstring | null (uuid)
    • created_atstring (date-time)bắt buộc
    • environment_idstring (uuid)bắt buộc
    • environment_namestringbắt buộc
    • idstring (uuid)bắt buộc
    • imagestringbắt buộc
    • installed_versionstringbắt buộc
    • last_errorstring | null
    • latest_versionstring | null
    • pending_releasesPluginRelease[]bắt buộc
      PluginRelease[]
      • html_urlstring | null
      • imagestringbắt buộc
      • notesstringbắt buộc
      • published_atstring | null
      • versionstringbắt buộc
    • pluginstringbắt buộc
    • safety_run_idstring | null (uuid)
    • server_idstring (uuid)bắt buộc
    • server_namestringbắt buộc
    • service_idstring (uuid)bắt buộc
    • service_namestringbắt buộc
    • statusstringbắt buộc
    • update_availablebooleanbắt buộc
    • updated_atstring (date-time)bắt buộc

Back up and update a plugin asynchronously; restore the previous image on deployment failure

POST/api/v1/plugin-installs/{id}/update

Nội dung gửi lênapplication/json

UpdatePlugin

  • versionstring | null

Phản hồi

  • 202 Back up and update a plugin asynchronously; restore the previous image on deployment failurePluginInstall
    • access_bypass_pathsstring[]bắt buộc
    • access_enabledbooleanbắt buộc
    • backup_job_idstring | null (uuid)
    • created_atstring (date-time)bắt buộc
    • environment_idstring (uuid)bắt buộc
    • environment_namestringbắt buộc
    • idstring (uuid)bắt buộc
    • imagestringbắt buộc
    • installed_versionstringbắt buộc
    • last_errorstring | null
    • latest_versionstring | null
    • pending_releasesPluginRelease[]bắt buộc
      PluginRelease[]
      • html_urlstring | null
      • imagestringbắt buộc
      • notesstringbắt buộc
      • published_atstring | null
      • versionstringbắt buộc
    • pluginstringbắt buộc
    • safety_run_idstring | null (uuid)
    • server_idstring (uuid)bắt buộc
    • server_namestringbắt buộc
    • service_idstring (uuid)bắt buộc
    • service_namestringbắt buộc
    • statusstringbắt buộc
    • update_availablebooleanbắt buộc
    • updated_atstring (date-time)bắt buộc

Plugin catalog, installs and cached release checks

GET/api/v1/plugins

Phản hồi

  • 200 Plugin catalog, installs and cached release checksPluginView[]
    • composestringbắt buộc
    • data_volumestringbắt buộc
    • descriptor_assetstringbắt buộc
    • health_pathstringbắt buộc
    • image_variablestringbắt buộc
    • installsPluginInstall[]bắt buộc
      PluginInstall[]
      • access_bypass_pathsstring[]bắt buộc
      • access_enabledbooleanbắt buộc
      • backup_job_idstring | null (uuid)
      • created_atstring (date-time)bắt buộc
      • environment_idstring (uuid)bắt buộc
      • environment_namestringbắt buộc
      • idstring (uuid)bắt buộc
      • imagestringbắt buộc
      • installed_versionstringbắt buộc
      • last_errorstring | null
      • latest_versionstring | null
      • pending_releasesPluginRelease[]bắt buộc
      • pluginstringbắt buộc
      • safety_run_idstring | null (uuid)
      • server_idstring (uuid)bắt buộc
      • server_namestringbắt buộc
      • service_idstring (uuid)bắt buộc
      • service_namestringbắt buộc
      • statusstringbắt buộc
      • update_availablebooleanbắt buộc
      • updated_atstring (date-time)bắt buộc
    • last_checkPluginCheck | null
      PluginCheck | null

      Một trong:

      • PluginCheck
        • checked_atstring (date-time)bắt buộc
        • errorstring | null
        • latest_versionstring | null
        • releasesPluginRelease[]bắt buộc
      • null
    • manifestTemplateViewbắt buộc
      TemplateView
      • categorystringbắt buộc
      • descriptionstringbắt buộc
      • imagesstring[]bắt buộc
      • main_servicestringbắt buộc
      • namestringbắt buộc
      • notesstringbắt buộc
      • portinteger (int32)bắt buộc
      • servicesstring[]bắt buộc
      • slugstringbắt buộc
      • tagsstring[]bắt buộc
      • variablesTemplateVariableView[]bắt buộc
        TemplateVariableView[]
        • defaultstring | null
        • descriptionstringbắt buộc
        • kindstringbắt buộc

          domain, string, email, secret, number, or boolean.

        • labelstringbắt buộc
        • namestringbắt buộc
        • requiredbooleanbắt buộc
      • websitestringbắt buộc
    • repostringbắt buộc

Plugin manifest and verified releases

GET/api/v1/plugins/{slug}

Phản hồi

  • 200 Plugin manifest and verified releasesPluginView
    • composestringbắt buộc
    • data_volumestringbắt buộc
    • descriptor_assetstringbắt buộc
    • health_pathstringbắt buộc
    • image_variablestringbắt buộc
    • installsPluginInstall[]bắt buộc
      PluginInstall[]
      • access_bypass_pathsstring[]bắt buộc
      • access_enabledbooleanbắt buộc
      • backup_job_idstring | null (uuid)
      • created_atstring (date-time)bắt buộc
      • environment_idstring (uuid)bắt buộc
      • environment_namestringbắt buộc
      • idstring (uuid)bắt buộc
      • imagestringbắt buộc
      • installed_versionstringbắt buộc
      • last_errorstring | null
      • latest_versionstring | null
      • pending_releasesPluginRelease[]bắt buộc
        PluginRelease[]
        • html_urlstring | null
        • imagestringbắt buộc
        • notesstringbắt buộc
        • published_atstring | null
        • versionstringbắt buộc
      • pluginstringbắt buộc
      • safety_run_idstring | null (uuid)
      • server_idstring (uuid)bắt buộc
      • server_namestringbắt buộc
      • service_idstring (uuid)bắt buộc
      • service_namestringbắt buộc
      • statusstringbắt buộc
      • update_availablebooleanbắt buộc
      • updated_atstring (date-time)bắt buộc
    • last_checkPluginCheck | null
      PluginCheck | null

      Một trong:

      • PluginCheck
        • checked_atstring (date-time)bắt buộc
        • errorstring | null
        • latest_versionstring | null
        • releasesPluginRelease[]bắt buộc
          PluginRelease[]
          • html_urlstring | null
          • imagestringbắt buộc
          • notesstringbắt buộc
          • published_atstring | null
          • versionstringbắt buộc
      • null
    • manifestTemplateViewbắt buộc
      TemplateView
      • categorystringbắt buộc
      • descriptionstringbắt buộc
      • imagesstring[]bắt buộc
      • main_servicestringbắt buộc
      • namestringbắt buộc
      • notesstringbắt buộc
      • portinteger (int32)bắt buộc
      • servicesstring[]bắt buộc
      • slugstringbắt buộc
      • tagsstring[]bắt buộc
      • variablesTemplateVariableView[]bắt buộc
        TemplateVariableView[]
        • defaultstring | null
        • descriptionstringbắt buộc
        • kindstringbắt buộc

          domain, string, email, secret, number, or boolean.

        • labelstringbắt buộc
        • namestringbắt buộc
        • requiredbooleanbắt buộc
      • websitestringbắt buộc
    • repostringbắt buộc

Refresh stable plugin releases from GitHub

POST/api/v1/plugins/{slug}/check

Phản hồi

  • 200 Refresh stable plugin releases from GitHubPluginCheck
    • checked_atstring (date-time)bắt buộc
    • errorstring | null
    • latest_versionstring | null
    • releasesPluginRelease[]bắt buộc
      PluginRelease[]
      • html_urlstring | null
      • imagestringbắt buộc
      • notesstringbắt buộc
      • published_atstring | null
      • versionstringbắt buộc

Stack source, generated compose file, and service states

GET/api/v1/services/{id}/stack

Phản hồi

  • 200 Stack source, generated compose file, and service statesStackView
    • build_on_deploybooleanbắt buộc

      Deploy also builds images that have a build: section.

    • compose_pathstringbắt buộc
    • compose_yamlstringbắt buộc
    • deploy_on_pushbooleanbắt buộc

      A push to the Git branch deploys the stack.

    • generated_yamlstringbắt buộc

      The file Dymini Panel runs: project name, labels, and proxy network applied.

    • gitStackGit | null
      StackGit | null

      Một trong:

      • StackGit
        • branchstringbắt buộc
        • compose_filestringbắt buộc

          Path of the compose file inside the repository.

        • provider_idstring (uuid)bắt buộc
        • repostringbắt buộc
      • null
    • main_servicestring | null
    • missing_variablesstring[]bắt buộc

      Referenced variables with no value under Environment and no fallback in the file.

    • network_isolationbooleanbắt buộc

      Host ports are not published. Missing means on.

    • preview_pull_requestsbooleanbắt buộc

      Open pull requests against the branch get their own copy of this stack.

    • projectstringbắt buộc
    • serviceServiceViewbắt buộc
      ServiceView
      • created_atstring (date-time)bắt buộc
      • environment_idstring (uuid)bắt buộc
      • idstring (uuid)bắt buộc
      • kindstringbắt buộc
      • namestringbắt buộc
      • server_idstring (uuid)bắt buộc
      • specanybắt buộc
      • statusstringbắt buộc
    • servicesStackServiceView[]bắt buộc
      StackServiceView[]
      • buildbooleanbắt buộc

        Built from a build: section, so a plain deploy does not pick up new code.

      • containerstringbắt buộc
      • imagestring | null
      • namestringbắt buộc
      • routedbooleanbắt buộc
      • runningboolean | null

        Null when the server cannot be reached.

    • sourcestringbắt buộc
    • templatestring | null
    • variable_detailsStackVariableView[]bắt buộc

      Every variable the file reads, and whether it is set or has a fallback.

      StackVariableView[]
      • has_defaultbooleanbắt buộc

        The file gives a fallback (${NAME:-x}) everywhere it reads the variable.

      • namestringbắt buộc
      • requiredbooleanbắt buộc

        The file refuses to start without it (${NAME:?error}).

      • setbooleanbắt buộc

        A value is saved under Environment.

    • variablesstring[]bắt buộc

      ${NAME} references in the compose file.

    • warningsstring[]bắt buộc

Replace the stack source

PUT/api/v1/services/{id}/stack

Nội dung gửi lênapplication/json

UpdateStack

  • build_on_deployboolean | null

    Deploy also builds images that have a build: section. Unchanged when omitted.

  • compose_yamlstring | null
  • deploy_on_pushboolean | null

    A push to the Git branch deploys the stack. Unchanged when omitted.

  • gitStackGit | null
    StackGit | null

    Một trong:

    • StackGit
      • branchstringbắt buộc
      • compose_filestringbắt buộc

        Path of the compose file inside the repository.

      • provider_idstring (uuid)bắt buộc
      • repostringbắt buộc
    • null
  • main_servicestring | null
  • preview_pull_requestsboolean | null

    Open pull requests against the branch get their own copy. Unchanged when omitted.

  • projectstring | null

    New compose project name. Only accepted before the first deploy; unchanged when omitted.

  • sourcestringbắt buộc

Phản hồi

  • 200 Replace the stack sourceStackView
    • build_on_deploybooleanbắt buộc

      Deploy also builds images that have a build: section.

    • compose_pathstringbắt buộc
    • compose_yamlstringbắt buộc
    • deploy_on_pushbooleanbắt buộc

      A push to the Git branch deploys the stack.

    • generated_yamlstringbắt buộc

      The file Dymini Panel runs: project name, labels, and proxy network applied.

    • gitStackGit | null
      StackGit | null

      Một trong:

      • StackGit
        • branchstringbắt buộc
        • compose_filestringbắt buộc

          Path of the compose file inside the repository.

        • provider_idstring (uuid)bắt buộc
        • repostringbắt buộc
      • null
    • main_servicestring | null
    • missing_variablesstring[]bắt buộc

      Referenced variables with no value under Environment and no fallback in the file.

    • network_isolationbooleanbắt buộc

      Host ports are not published. Missing means on.

    • preview_pull_requestsbooleanbắt buộc

      Open pull requests against the branch get their own copy of this stack.

    • projectstringbắt buộc
    • serviceServiceViewbắt buộc
      ServiceView
      • created_atstring (date-time)bắt buộc
      • environment_idstring (uuid)bắt buộc
      • idstring (uuid)bắt buộc
      • kindstringbắt buộc
      • namestringbắt buộc
      • server_idstring (uuid)bắt buộc
      • specanybắt buộc
      • statusstringbắt buộc
    • servicesStackServiceView[]bắt buộc
      StackServiceView[]
      • buildbooleanbắt buộc

        Built from a build: section, so a plain deploy does not pick up new code.

      • containerstringbắt buộc
      • imagestring | null
      • namestringbắt buộc
      • routedbooleanbắt buộc
      • runningboolean | null

        Null when the server cannot be reached.

    • sourcestringbắt buộc
    • templatestring | null
    • variable_detailsStackVariableView[]bắt buộc

      Every variable the file reads, and whether it is set or has a fallback.

      StackVariableView[]
      • has_defaultbooleanbắt buộc

        The file gives a fallback (${NAME:-x}) everywhere it reads the variable.

      • namestringbắt buộc
      • requiredbooleanbắt buộc

        The file refuses to start without it (${NAME:?error}).

      • setbooleanbắt buộc

        A value is saved under Environment.

    • variablesstring[]bắt buộc

      ${NAME} references in the compose file.

    • warningsstring[]bắt buộc

Stop and delete a stack; ?volumes=true also removes named volumes

DELETE/api/v1/services/{id}/stack

Phản hồi

  • 204 Stop and delete a stack; ?volumes=true also removes named volumes

Stop the stack action that is running

POST/api/v1/services/{id}/stack/cancel

Phản hồi

  • 202 Stop the stack action that is running

Logs of one compose service (?service=&tail=), or of every service when service is omitted; lists the stack's service names

GET/api/v1/services/{id}/stack/logs

Phản hồi

  • 200 Logs of one compose service (?service=&tail=), or of every service when service is omitted; lists the stack's service namesStackLogsView
    • logsstringbắt buộc

      Without service, each service's tail under a ==> name <== header.

    • servicestring | null

      The compose service asked for, or None when the logs of every service are combined.

    • servicesstring[]bắt buộc

      Every compose service in the stack, so a caller can pick one without loading the stack.

Read the compose file from Git again and plan it, without deploying

POST/api/v1/services/{id}/stack/refresh

Phản hồi

  • 200 Read the compose file from Git again and plan it, without deployingStackView
    • build_on_deploybooleanbắt buộc

      Deploy also builds images that have a build: section.

    • compose_pathstringbắt buộc
    • compose_yamlstringbắt buộc
    • deploy_on_pushbooleanbắt buộc

      A push to the Git branch deploys the stack.

    • generated_yamlstringbắt buộc

      The file Dymini Panel runs: project name, labels, and proxy network applied.

    • gitStackGit | null
      StackGit | null

      Một trong:

      • StackGit
        • branchstringbắt buộc
        • compose_filestringbắt buộc

          Path of the compose file inside the repository.

        • provider_idstring (uuid)bắt buộc
        • repostringbắt buộc
      • null
    • main_servicestring | null
    • missing_variablesstring[]bắt buộc

      Referenced variables with no value under Environment and no fallback in the file.

    • network_isolationbooleanbắt buộc

      Host ports are not published. Missing means on.

    • preview_pull_requestsbooleanbắt buộc

      Open pull requests against the branch get their own copy of this stack.

    • projectstringbắt buộc
    • serviceServiceViewbắt buộc
      ServiceView
      • created_atstring (date-time)bắt buộc
      • environment_idstring (uuid)bắt buộc
      • idstring (uuid)bắt buộc
      • kindstringbắt buộc
      • namestringbắt buộc
      • server_idstring (uuid)bắt buộc
      • specanybắt buộc
      • statusstringbắt buộc
    • servicesStackServiceView[]bắt buộc
      StackServiceView[]
      • buildbooleanbắt buộc

        Built from a build: section, so a plain deploy does not pick up new code.

      • containerstringbắt buộc
      • imagestring | null
      • namestringbắt buộc
      • routedbooleanbắt buộc
      • runningboolean | null

        Null when the server cannot be reached.

    • sourcestringbắt buộc
    • templatestring | null
    • variable_detailsStackVariableView[]bắt buộc

      Every variable the file reads, and whether it is set or has a fallback.

      StackVariableView[]
      • has_defaultbooleanbắt buộc

        The file gives a fallback (${NAME:-x}) everywhere it reads the variable.

      • namestringbắt buộc
      • requiredbooleanbắt buộc

        The file refuses to start without it (${NAME:?error}).

      • setbooleanbắt buộc

        A value is saved under Environment.

    • variablesstring[]bắt buộc

      ${NAME} references in the compose file.

    • warningsstring[]bắt buộc

Run up, rebuild, update, down, restart, or pull in the background

POST/api/v1/services/{id}/stack/{action}

Phản hồi

  • 202 Run up, rebuild, update, down, restart, or pull in the backgroundDeploymentView
    • created_atstring (date-time)bắt buộc
    • errorstring | null
    • finished_atstring | null (date-time)
    • idstring (uuid)bắt buộc
    • image_refstring | null
    • logsstringbắt buộc

      The end of the log (at most 200 000 characters); see logs_truncated.

    • logs_truncatedbooleanbắt buộc

      The log is longer than logs; the whole text is at /api/v1/services/{id}/deployments/{deployment}/logs.

    • service_idstring (uuid)bắt buộc
    • started_atstring | null (date-time)
    • statusstringbắt buộc
    • triggerstringbắt buộc

App template gallery

GET/api/v1/templates

Phản hồi

  • 200 App template galleryTemplateView[]
    • categorystringbắt buộc
    • descriptionstringbắt buộc
    • imagesstring[]bắt buộc
    • main_servicestringbắt buộc
    • namestringbắt buộc
    • notesstringbắt buộc
    • portinteger (int32)bắt buộc
    • servicesstring[]bắt buộc
    • slugstringbắt buộc
    • tagsstring[]bắt buộc
    • variablesTemplateVariableView[]bắt buộc
      TemplateVariableView[]
      • defaultstring | null
      • descriptionstringbắt buộc
      • kindstringbắt buộc

        domain, string, email, secret, number, or boolean.

      • labelstringbắt buộc
      • namestringbắt buộc
      • requiredbooleanbắt buộc
    • websitestringbắt buộc

One template with its compose file

GET/api/v1/templates/{slug}

Phản hồi

  • 200 One template with its compose fileTemplateDetail
    • categorystringbắt buộc
    • descriptionstringbắt buộc
    • imagesstring[]bắt buộc
    • main_servicestringbắt buộc
    • namestringbắt buộc
    • notesstringbắt buộc
    • portinteger (int32)bắt buộc
    • servicesstring[]bắt buộc
    • slugstringbắt buộc
    • tagsstring[]bắt buộc
    • variablesTemplateVariableView[]bắt buộc
      TemplateVariableView[]
      • defaultstring | null
      • descriptionstringbắt buộc
      • kindstringbắt buộc

        domain, string, email, secret, number, or boolean.

      • labelstringbắt buộc
      • namestringbắt buộc
      • requiredbooleanbắt buộc
    • websitestringbắt buộc
    • composestringbắt buộc