Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1.46 KB

File metadata and controls

49 lines (33 loc) · 1.46 KB

kthcloud compose parse

Parse a docker-compose.yaml or docker-compose.yml file

Synopsis

A simple command that parses a compose file into kthclouds create deployment json format.

The compose file can be specified with the --file flag.

Adding the --json flag will return pure json as response.

kthcloud compose parse [flags]

Examples

kthcloud compose parse

Options

  -h, --help   help for parse
      --json   Specify if output should be only the parsed json

Options inherited from parent commands

      --api-url string             Base URL of the API (default "https://api.cloud.cbh.kth.se/deploy")
      --client-id string           Keycloak client ID (default "landing")
      --client-secret string       Keycloak client secret
      --file string                Specify which docker-compose file to use.
      --keycloak-host string       Keycloak server endpoint (default "https://iam.cloud.cbh.kth.se")
      --keycloak-realm string      Keycloak realm (default "cloud")
      --loglevel string            Set the logging level (info, warn, error, debug) (default "info")
      --redirect-uri string        Keycloak redirect endpoint URI (default "http://localhost:3000/auth/callback")
      --request-timeout duration   The timeout for requests (default 10s)

SEE ALSO

Auto generated by spf13/cobra on 19-May-2025