Installing app with an arbitrary docker container via API
-
Is this something that is possible right now? I'm trying to automate the process of installing custom packaged apps via a web interface and have been pouring over the API documentation. I must be missing something so I might need another set of eyes on this.
-
@atrilahiji
Yes it is, you need to specify in the manifest the image.
If you can w8 on Monday I can send you more details -
@moocloud_matt oh I see. Perfect yeah I have no problems waiting, thanks!
-
@atrilahiji The docs are not great here but you can follow https://git.cloudron.io/cloudron/cloudron-cli/-/blob/master/src/actions.js#L566 to see how the CLI tool does it. Essentially, read in CloudronManifest.json and inject dockerImage field like https://git.cloudron.io/cloudron/cloudron-cli/-/blob/master/src/actions.js#L580 . Then you can POST like https://git.cloudron.io/cloudron/cloudron-cli/-/blob/master/src/actions.js#L644
-
@atrilahiji
hello,
sorry for being late, got sick.like that:
"dockerImage": "cloudron/org.wordpress.unmanaged.cloudronapp:20210208-171207-630daccf7",