How to call rancher-compose from a web form

Hello,

I have an architecture question. I wish to use my Rancher platform to create “stacks on demand” triggered via a web form.

I am familiar with rancher-compose and have deployed stacks from a CI/CD.

I was wondering how I could achieve the same from a web form ? Preferably in PHP (yikes).

Tips appreciated, cheers !

the Rancher-compose CLI is simply submitting that the data to an API endpoint in Rancher. Your webform can do the same. You can explore the API by going to https://<rancher-server-url>/v1/projects/<rancher environment id>/services