rudimk/rancher.js

Orchestrate services using Compose files

Opened this issue · 1 comments

We should create a separate stack creation function that accepts a Docker Compose file and a Rancher Compose file, and passes them on to the Rancher cluster for orchestration.

Compose files can either be passed to the library as files, in which case the library accepts a path and reads from there. We can also try and plug in the ability to read raw YAML strings as Compose files.

This is proving to be slightly problematic, considering the difficulty one is facing in encoding YML content inside a JSON object. Going to keep this for later.