You can create a Docker Compose app version with the following command:
$ iectl publisher app version create \
--appid "uvxLneoYYKxFWLHD3DmOw0eI1WJ1LcDt" \ #Unique id(defined while applicaiton is created on IEM) of application for which the version has to be created
--changelogs "initial release" \
--yamlpath "/path/to/folder/with/docker-compose.yaml" \ #Path to your docker compose yaml file
--versionnumber "1.0.0" \ #This version must be conformant to the semantic versioning specification
--redirectsection "myservice" \ #This requires the service name within docker-compose which contains the container that shall be exposed
--redirecttype "FromBoxSpecificPort" \ #Either FromBoxSpecificPort for direct port exposure or FromBoxReverseProxy for reverse proxy exposure
--redirecturl "80" \ #Internal container port where device redirects app when app is clicked, device will use external port assigned to port 80 in this case for redirection.
--restredirecturl "" \ # this path will be used upon redirect to your application
This command creates a directory structure containing app and version metadata in the given workspace.