launch-composition

Run and externaly expose a docker-compose
Arguments
working_directory
- The directory in which to search for the composition file. It can be an explicit path in the container’s file system, or a variable that references another step. The default is ${{main_clone}}.
composition
- The composition you want to run. It can be an inline YAML definition, a path to a composition file on the file system, or the logical name of a composition stored in the Codefresh system.
composition_variables
- A set of environment variables to substitute in the composition.
    version: '1.0'
steps:
  Launch-Composition:
    title: Running docker image
    type: launch-composition
    arguments:
      composition:
        version: '2'
        services:
          app:
            image: 'owner/app:latest'
          db:
            image: mongo
      environment_name: environment name

  
github.comCodefresh INCAug 21, 2019source