Parse a docker-compose.yaml or docker-compose.yml file
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]
kthcloud compose parse
-h, --help help for parse
--json Specify if output should be only the parsed json
--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)
- kthcloud compose - Deploy and manage Docker Compose projects on the cloud