Create a composition.
codefresh create composition <name>
codefresh create com <name>
Option | Alias | Default | Description |
---|---|---|---|
name | Name of composition |
Option | Alias | Type | Default | Description |
---|---|---|---|---|
--help | Print help information | |||
--filename | -f | Filename or directory of spec files use to create the resource | ||
--compose-file | -c | Path to docker-compose.yaml file to use to create the resource. required |
||
--variable | -v | array | Variables list | |
--advanced | -a | boolean | false | Advanced composition |
codefresh create composition NAME --compose-file ./docker-compose.yml
codefresh create composition NAME --compose-file ./docker-compose.yml -v key1=value1 -v key2=value2