App-Version erstellen - Manual - Industrial Edge - Industrial Edge - Industrial Edge - Documentation of the Industrial Edge Platform - IEM - Hub - Industrial - Device - IED - Edge - IEH

Industrial Edge Platform Operation - APIs & Referenzen

Product
Industrial Edge
Product Version
v25.04
Edition
04/2025
Language
de-DE

Sie können mit dem folgenden Befehl eine Docker Compose App-Version erstellen:

$ 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

Mit diesem Befehl wird eine Verzeichnisstruktur mit den App- und Versionsmetadaten im angegebenen Workspace erstellt.